Keep LocalStorage
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
- 領域
- testing
調査の方向性
Puppeteer ヘルパーと示されている設定から始め、特に keepBrowserState がシナリオ間で Cookie とブラウザーの状態をどのように扱うかを確認します。LocalStorage がどこでリセットまたは保持されるかを追跡します。完了条件は、関連するテスト間で LocalStorage が Cookie と同じ方法で保持され、その動作のテストカバレッジがあることです。
索引モデルが issue の本文から書いたものです。
説明
What are you trying to achieve?
i want keep LocalStorage like keepCookies
What do you get instead?
Provide console output if related. Use
--verbosemode for more details.
My First Test --
test something
我 在页面 "https://....com/"
我 保存屏幕截图 "see-first.jpg"
我 看到 "text"
我 等 2
我 单击 "客户/广告主", ".ant-btn"
我 wait for navigation
我 等待元素 ".right", 5
我 单击 "账号登录", ".right"
我 单击 "密码登录", ".TabR"
我 填写字段 "#Authorize_username", "...@sina.com"
我 填写字段 "#Authorize_password", "123456"
我 单击 "立即登录", ".ant-btn-primary"
我 等 5
我 保存屏幕截图 "see-chengfayun.jpg"
✔ OK in 14313ms
Provide test source code if related
// paste test
Feature('My First Test');
Scenario('test something', ({ I }) => {
I.amOnPage('https://....com/');
I.saveScreenshot("see-first.jpg")
I.see('text');
I.wait(2);
I.click('客户/广告主', '.ant-btn');
I.waitForNavigation();
I.waitForElement('.right', 5);
I.click('账号登录', '.right');
I.click('密码登录', '.TabR');
I.fillField('#Authorize_username', '...@sina.com');
I.fillField('#Authorize_password', '123456');
I.click('立即登录', '.ant-btn-primary');
I.wait(5)
//截图
I.saveScreenshot("see-chengfayun.jpg")
});
Details
- CodeceptJS version: 3.0.7
- NodeJS Version: v14.16.1
- Operating System: macos
- puppeteer
- Configuration file:
# paste config here
exports.config = {
tests: './*_test.js',
output: './output',
helpers: {
Puppeteer: {
url: 'http://localhost',
show: true,
windowSize: '1200x900',
keepBrowserState: true,
}
},
include: {
I: './steps_file.js'
},
bootstrap: null,
mocha: {},
name: 'PuppeteerTests',
translation: 'zh-CN',
plugins: {
pauseOnFail: {},
retryFailedStep: {
enabled: true
},
tryTo: {
enabled: true
},
screenshotOnFail: {
enabled: true
}
}
}
- 主要言語
- JavaScript
- スター
- 4.2k
- フォーク
- 756
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 16
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codeceptjs/CodeceptJS のほかの issue
-
stale
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
codeceptjs/CodeceptJS#5420 · コメント 1 件 ·
-
stale
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
codeceptjs/CodeceptJS#5358 · コメント 1 件 ·
-
stale
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codeceptjs/CodeceptJS#4958 · コメント 10 件 · リアクション 2 件 ·
-
stale
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
codeceptjs/CodeceptJS#4778 · コメント 3 件 ·
-
stale
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
codeceptjs/CodeceptJS#5618 · コメント 1 件 ·
codeceptjs/CodeceptJS の issue をすべて見る
似ている issue
-
bug customer-eng Durable Agents Inngest status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
optimization optimization:agents-md-curator
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
githubnext/gh-aw-cao#13475 ·
-
[BUG]: "Clear All" in Settings doesn't clear the saved analysis, old data comes back after reload オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
AOSSIE-Org/OrgExplorer#253 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
oxc-project/oxc#26944 ·
-
ai-observability bug team/ai-observability
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100