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

#8771 initial brick actions panel end to end test #8771

Conversation

fungairino
Copy link
Collaborator

@fungairino fungairino commented Jul 8, 2024

What does this PR do?

This PR introduces a new end-to-end test that verifies that the brick actions panel is displayed when a starter brick is selected. The PR also includes a new fixture for the test, a mod definition file named "brick-actions.yaml". Additionally, it adds a check in the mod editor to ensure that the mod definition contains the placeholder "{{ modId }}". Lastly, it introduces a method to get a starter brick from a mod in the mod listing panel.

@fungairino fungairino self-assigned this Jul 8, 2024
@fungairino fungairino changed the title initial brick actions panel end to end test #8771: initial brick actions panel end to end test Jul 8, 2024
@fungairino fungairino changed the title #8771: initial brick actions panel end to end test #8771 initial brick actions panel end to end test Jul 8, 2024
@twschiller twschiller added this to the 2.0.5 milestone Jul 8, 2024
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.24%. Comparing base (8318d74) to head (cd326a6).
Report is 28 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8771      +/-   ##
==========================================
- Coverage   74.24%   74.24%   -0.01%     
==========================================
  Files        1332     1332              
  Lines       40817    40866      +49     
  Branches     7634     7642       +8     
==========================================
+ Hits        30306    30341      +35     
- Misses      10511    10525      +14     

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

Copy link

github-actions bot commented Jul 8, 2024

Playwright test results

passed  86 passed
skipped  2 skipped

Details

report  Open report ↗︎
stats  88 tests across 31 suites
duration  13 minutes, 22 seconds
commit  cd326a6

Skipped tests

chrome › tests/runtime/googleSheetsIntegration.spec.ts › can activate a google spreadsheet mod with config options
edge › tests/runtime/googleSheetsIntegration.spec.ts › can activate a google spreadsheet mod with config options

await testStarterBrick.activate();
await expect(pageEditorPage.brickActionsPanel.root).toBeVisible();

await page.pause();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oops. the linter should have caught this

@fungairino fungairino merged commit 5808305 into main Jul 8, 2024
18 checks passed
@fungairino fungairino deleted the 8596-brick-actions-panel-create-delete-copying-pasting-and-moving-actions branch July 8, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Brick actions panel - Create, Delete, Copying, Pasting and Moving Actions
3 participants