Skip to content

Frontend tests #513

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

Merged
merged 11 commits into from
Oct 28, 2020
Merged

Frontend tests #513

merged 11 commits into from
Oct 28, 2020

Conversation

mpsonntag
Copy link
Contributor

@mpsonntag mpsonntag commented Oct 28, 2020

This PR introduces a major rewrite of the frontend selenium tests.

  • it introduces a fix for the conference settings tests where it was possible, that the wrong conference was accessed leading to failing tests.
  • the rewrite also aims to restructure these tests to increase readability and adds comments to make extensive tests more easily understandable.
  • the frontend setup and test documentation is rewritten and now also linked from the main readme document.

The PR also

The file was refactored for readability and detailled descriptions
were added to clarify which actions are taking place since the
xpath strings make it hard to identify the current action.
Use helper method to increase readability
Switching between conference settings, start page and abstract
and returning to conference settings via xpath lead to access
of other conferences than the intended leading to seemingly
random test fails. Changing the access method of the conference
settings page fixed all test fails.
The file was refactored for readability and detailled descriptions
were added to clarify which actions are taking place since the
xpath strings make it hard to identify the current action.
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

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

Very nice and clean!

@achilleas-k achilleas-k merged commit 759c318 into G-Node:banners Oct 28, 2020
@mpsonntag mpsonntag deleted the frontendTests branch October 28, 2020 17:02
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