Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#8127: adds test for activation url #8462

Conversation

grahamlangford
Copy link
Collaborator

What does this PR do?

Checklist

  • Add jest or playwright tests and/or storybook stories
  • Designate a primary reviewer @fungairino

Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.40%. Comparing base (6d95047) to head (1c48d78).
Report is 66 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8462      +/-   ##
==========================================
- Coverage   73.47%   73.40%   -0.08%     
==========================================
  Files        1334     1352      +18     
  Lines       41259    41555     +296     
  Branches     7686     7799     +113     
==========================================
+ Hits        30316    30504     +188     
- Misses      10943    11051     +108     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented May 14, 2024

Playwright test results - MV2

passed  44 passed
skipped  12 skipped

Details

report  Open report ↗︎
stats  56 tests across 19 suites
duration  12 minutes, 11 seconds
commit  1c48d78

Skipped tests

chrome › tests/extensionConsoleActivation.spec.ts › can activate a mod with built-in integration
chrome › tests/extensionConsoleActivation.spec.ts › can activate a mod via url
edge › tests/extensionConsoleActivation.spec.ts › can activate a mod with built-in integration
edge › tests/extensionConsoleActivation.spec.ts › can activate a mod via url
chrome › tests/regressions/sidebarLinks.spec.ts › #8206: clicking links from the sidebar doesn't crash browser
edge › tests/regressions/sidebarLinks.spec.ts › #8206: clicking links from the sidebar doesn't crash browser
chrome › tests/runtime/sidebarController.spec.ts › sidebar controller › shows focus dialog in top-level frame
edge › tests/runtime/sidebarController.spec.ts › sidebar controller › shows focus dialog in top-level frame
chrome › tests/runtime/sidebarNavigation.spec.ts › sidebar mod panels are persistent during navigation
chrome › tests/runtime/sidebarNavigation.spec.ts › sidebar form and temporary panels are unavailable after navigation
edge › tests/runtime/sidebarNavigation.spec.ts › sidebar mod panels are persistent during navigation
edge › tests/runtime/sidebarNavigation.spec.ts › sidebar form and temporary panels are unavailable after navigation

Copy link

github-actions bot commented May 14, 2024

Playwright test results - MV3

passed  56 passed

Details

report  Open report ↗︎
stats  56 tests across 19 suites
duration  16 minutes, 43 seconds
commit  1c48d78

@fungairino
Copy link
Collaborator

not related to this PR, but ugh, annoying to still see flaky mv3 tests pop up. We should try to fix these asap.

Copy link

No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack.

Do not edit this comment manually.

…8127-add-a-playwright-test-that-confirms-extension-console-activation-via-shared-mod-url
await expect(page).toHaveURL(
`chrome-extension://${extensionId}/options.html#/marketplace/activate/${modIdUrlEncoded}`,
);
}).toPass({ timeout: 5000 });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: you could instead use the built-in waitForUrl : https://playwright.dev/docs/api/class-page#page-wait-for-url

@grahamlangford grahamlangford merged commit beef391 into main May 15, 2024
22 checks passed
@grahamlangford grahamlangford deleted the 8127-add-a-playwright-test-that-confirms-extension-console-activation-via-shared-mod-url branch May 15, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a Playwright test that confirms Extension Console activation via shared mod url
3 participants