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

Playwright testing #478

Merged
merged 79 commits into from
Jun 5, 2024
Merged

Playwright testing #478

merged 79 commits into from
Jun 5, 2024

Conversation

Zlatanius
Copy link
Collaborator

This PR adds adds playwright UI tests, as well as a github action that runs them. This is part of the quality controll subject of which Marc is the professor. Attention should be payed to the change in the Jest configuration. As it stands right now any test contained in a folder called e2e (at any depth) will be ignored by Jest. This change was required because the last configuration was matching any files ending in .spec.js and tried to run playwright tests as unit test and therefore the test GH action would always fail.

@Zlatanius Zlatanius requested review from jvJUCA and marcgc21 May 30, 2024 20:00
@sergiobeltranguerrero
Copy link
Member

You are using the production url to test the branch. You should use localhost:port
Shottr 2024-06-02 10 39 11

@Zlatanius
Copy link
Collaborator Author

@sergiobeltranguerrero @marcgc21 requested that the production is tested. I can look into testing development as well sometime later.

@jvJUCA jvJUCA closed this Jun 3, 2024
@jvJUCA jvJUCA reopened this Jun 3, 2024
Sergio Beltrán added 5 commits June 4, 2024 18:21
# Conflicts:
#	.github/workflows/ishikawa-tools.yml
#	ishikawa_tools/ishikawa_tools_script.py
#	package.json
Copy link

github-actions bot commented Jun 4, 2024

⚠️ The tests have failed, @sergiobeltranguerrero Please review the proposed changes.

Copy link

sonarqubecloud bot commented Jun 4, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
8 Security Hotspots

See analysis details on SonarCloud

Copy link
Member

@jvJUCA jvJUCA left a comment

Choose a reason for hiding this comment

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

Your Pull Request will be approved and your changes will be added to the newest version of develop, and i will check if everything is working fine!

@jvJUCA jvJUCA merged commit 5f7d174 into develop Jun 5, 2024
2 of 5 checks passed
@jvJUCA jvJUCA deleted the playwright-testing branch June 12, 2024 16:06
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