Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fungairino committed Jun 10, 2024
1 parent 96e731b commit a81e3ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,6 @@ jobs:
uses: daun/playwright-report-summary@v3
with:
comment-title: "Playwright test results"
report-file: ${{ steps.upload-merged-playwright-report-step.outputs.artifact-url }}
report-url: https://github.com/pixiebrix/pixiebrix-extension/actions/runs/${{ github.run_id }}
report-file: ./playwright-report/results.json
report-url: ${{ steps.upload-merged-playwright-report-step.outputs.artifact-url }}
if: (success() || failure()) && github.event_name == 'pull_request'
3 changes: 1 addition & 2 deletions end-to-end-tests/pageObjects/external/googleAuthPopup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ const submitOtpCode = async (googleAuthPopup: Page) => {

await expect(async () => {
await enterCode.click();
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- checked before this call
const otpKey = E2E_GOOGLE_TEST_USER_OTP_KEY!.replaceAll(/\s/g, "");
const otpKey = E2E_GOOGLE_TEST_USER_OTP_KEY.replaceAll(/\s/g, "");
const token = generateOTP(otpKey);
expect(token).not.toStrictEqual(prevToken); // Ensure the token is different from the previous one on retry
prevToken = token;
Expand Down

0 comments on commit a81e3ac

Please sign in to comment.