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

Improve functional tests #16982

Merged
merged 6 commits into from
Nov 12, 2024
Merged

Improve functional tests #16982

merged 6 commits into from
Nov 12, 2024

Conversation

sebastienros
Copy link
Member

@sebastienros sebastienros commented Nov 9, 2024

Improved documentation and fixed the generated script files.
Fail functional tests when an exception is not handled or a error is logged.

@sebastienros sebastienros changed the title Improve function tests Improve functional tests Nov 9, 2024
Comment on lines +4 to +6
cy.get("#LoginForm_UserName").type(config.username);
cy.get("#LoginForm_Password").type(config.password);
cy.get("#LoginForm_UserName").closest('form').submit();
Copy link
Member

Choose a reason for hiding this comment

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

Humm, how did this pass in the past?

Copy link
Member Author

Choose a reason for hiding this comment

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

The "dist" folder was fine, it was changed manually. And the "dist" is generated. So as long as we didn't generate a new "dist" it was working. Kind of the same problem we had with the static assets, so we could add this to the validation action such that the source and generated scripts are never out of sync.

@sebastienros sebastienros merged commit cc05982 into main Nov 12, 2024
17 checks passed
@sebastienros sebastienros deleted the sebros/functests branch November 12, 2024 01:20
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.

2 participants