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

test: adds playwright tests for dfx new project frontends #4065

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

krpeacock
Copy link
Contributor

@krpeacock krpeacock commented Jan 16, 2025

Description

Extends playwright coverage to the remaining frontend projects

Fixes SDK-1931

How Has This Been Tested?

It's all tests!

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@krpeacock krpeacock marked this pull request as ready for review January 16, 2025 23:57
@krpeacock krpeacock requested a review from a team as a code owner January 16, 2025 23:57
@krpeacock krpeacock enabled auto-merge (squash) January 16, 2025 23:58
@krpeacock krpeacock merged commit 9900826 into master Jan 17, 2025
296 checks passed
@krpeacock krpeacock deleted the kaia/SDK-1931-starter-playwright-tests branch January 17, 2025 00:19
Copy link
Contributor

@raymondk raymondk left a comment

Choose a reason for hiding this comment

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

The tests are the same. Did you choose to duplicate the file for each one instead of parametrizing a single file on purpose?

@@ -381,7 +381,7 @@ Module hash 15da2adc4426b8037c9e716b81cb6a8cf1a835ac37589be2cef8cb3f4a04adaa

`dfx deploy --mode` now takes the same possible values as `dfx canister install --mode`: "install", "reinstall", "upgrade" and "auto".

In "auto" mode, the upgrade options are hints which only take effects when the actual install mode is "upgrade".
In "auto" mode, the upgrade options are hints which only take effects when the actual install mode is "upgrade".
Copy link
Contributor

Choose a reason for hiding this comment

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

Small typo? "Only take effect"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, that typo was already in there - my auto formatter just removed the space when I updated the file

@krpeacock
Copy link
Contributor Author

The tests are the same. Did you choose to duplicate the file for each one instead of parametrizing a single file on purpose?

I did - this was the easiest way to represent each frontend as a separate test suite so it will be easier to identify if and when one of them fails. I am in favor of avoiding duplication as a principle, but here it's easier to just work with the tool than fight it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants