-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Improve Cypress setup and structure #141
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thinkh
approved these changes
Aug 11, 2022
thinkh
changed the title
Update Cypress Test Setup
feat: Improve Cypress setup and structure
Aug 11, 2022
ghost
pushed a commit
that referenced
this pull request
Sep 8, 2022
* add data-testid * add data-testid * add data-testid * fix data-testid in footer for tabs * add tourspage * update dist * compile * update dist * update dist * update dist * update dist * update dist * rename for consistency * prepare next development version 12.0.1-SNAPSHOT * Prepare github changes * Remove circleci * prepare next dev version * Update release.yml * Update publish.yml * Update fontawesome * feat: Improve Cypress setup and structure (#141) * feat: Use URL search query for CLUE and rewrite hash parameters (#142) Use URL search query for CLUE + rewrite hash props Requires datavisyn/tdp_core@07ddf99 * Add Visyn Scripts (#144) * Prepare visyn_script changes * Moved phovea_registry to src/phovea_registry.ts * Update workspace.scss * Update engine and prepare script * Remove react and react-dom from deps * Fix wrongly formatted visyn_scripts git ssh link * Add yarn-3.2.2 * Add _head import to templates Co-authored-by: anita-steiner <> Co-authored-by: Michael Puehringer <[email protected]> * Fix robot.txt import * prepare release 13.0.0 Co-authored-by: Florian Engertsberger <[email protected]> Co-authored-by: Holger Stitz <[email protected]> Co-authored-by: anita-steiner <> Co-authored-by: Anita Steiner <[email protected]> Co-authored-by: datavisyn-bot <[email protected]> Co-authored-by: Michael Puehringer <[email protected]>
dvvanessastoiber
added a commit
that referenced
this pull request
Nov 24, 2022
* add data-testid * add data-testid * add data-testid * fix data-testid in footer for tabs * add tourspage * update dist * compile * update dist * update dist * update dist * update dist * update dist * rename for consistency * prepare next development version 12.0.1-SNAPSHOT * Prepare github changes * Remove circleci * prepare next dev version * Update release.yml * Update publish.yml * Update fontawesome * feat: Improve Cypress setup and structure (#141) * feat: Use URL search query for CLUE and rewrite hash parameters (#142) Use URL search query for CLUE + rewrite hash props Requires datavisyn/tdp_core@07ddf99 * Add Visyn Scripts (#144) * Prepare visyn_script changes * Moved phovea_registry to src/phovea_registry.ts * Update workspace.scss * Update engine and prepare script * Remove react and react-dom from deps * Fix wrongly formatted visyn_scripts git ssh link * Add yarn-3.2.2 * Add _head import to templates Co-authored-by: anita-steiner <> Co-authored-by: Michael Puehringer <[email protected]> * Fix robot.txt import * prepare next dev version * add: release notes for Ordino release v10.1 (#147) Co-authored-by: oltionchampari <[email protected]> Closes Caleydo/tdp_bi_bioinfodb#1407 * prepare release 13.1.0 Co-authored-by: Florian Engertsberger <[email protected]> Co-authored-by: Holger Stitz <[email protected]> Co-authored-by: anita-steiner <> Co-authored-by: Anita Steiner <[email protected]> Co-authored-by: datavisyn-bot <[email protected]> Co-authored-by: Michael Puehringer <[email protected]>
thinkh
added a commit
that referenced
this pull request
Feb 20, 2023
* add data-testid * add data-testid * add data-testid * fix data-testid in footer for tabs * add tourspage * update dist * compile * update dist * update dist * update dist * update dist * update dist * rename for consistency * prepare next development version 12.0.1-SNAPSHOT * Prepare github changes * Remove circleci * prepare next dev version * Update release.yml * Update publish.yml * Update fontawesome * feat: Improve Cypress setup and structure (#141) * feat: Use URL search query for CLUE and rewrite hash parameters (#142) Use URL search query for CLUE + rewrite hash props Requires datavisyn/tdp_core@07ddf99 * Add Visyn Scripts (#144) * Prepare visyn_script changes * Moved phovea_registry to src/phovea_registry.ts * Update workspace.scss * Update engine and prepare script * Remove react and react-dom from deps * Fix wrongly formatted visyn_scripts git ssh link * Add yarn-3.2.2 * Add _head import to templates Co-authored-by: anita-steiner <> Co-authored-by: Michael Puehringer <[email protected]> * Fix robot.txt import * prepare next dev version * add: release notes for Ordino release v10.1 (#147) Co-authored-by: oltionchampari <[email protected]> Closes Caleydo/tdp_bi_bioinfodb#1407 * prepare next dev version * Update by update-qa-issue-template.sh * chore: release v13.1.1 --------- Co-authored-by: Florian Engertsberger <[email protected]> Co-authored-by: dvvanessastoiber <[email protected]> Co-authored-by: Holger Stitz <[email protected]> Co-authored-by: anita-steiner <> Co-authored-by: Anita Steiner <[email protected]> Co-authored-by: Vanessa Stoiber <[email protected]> Co-authored-by: datavisyn-bot <[email protected]> Co-authored-by: Michael Puehringer <[email protected]>
Merged
dvvanessastoiber
added a commit
that referenced
this pull request
Jul 28, 2023
## What's Changed ### Features * Use URL search query for CLUE and rewrite hash parameters by @thinkh in #142 * Add release notes for Ordino release v10.1 by @thinkh in #147 * Add release notes for Ordino release v11.0 by @thinkh in #153 ### Bugfixes * Fix deep links from tours page into tours by @thinkh in #151 ### Chore * Improve Cypress setup and structure by @dvvanessastoiber in #141 * Cypress testing by @dvvanessastoiber in #133 * Add Visyn Scripts by @datavisyn-bot in #144 * Migration to visyn_core by @oltionchampari in #150 * React 18 Migration by @dvmoritzschoefl in #152 ## New Contributors * @datavisyn-bot made their first contribution in #144 * @dvmoritzschoefl made their first contribution in #152 **Full Changelog**: v13.1.1...v14.0.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this PR the Cypress UI testing software is integrated into ordino_public.
Changes
ordino_public/cypress
: cypress folder containing standard cypress files that are created upon creation. Theintegration
folder contains the corresponding tests.ordino_public/cypress/support/commands.js
: contains utility functions for the ordino_public tests.ordino_public/package.json
: Defines"cy:open": "cypress open"
to open cypress nicely as seen below as well as"cy:run": "cypress run"
to run the tests.Requirements to run
yo
phovea:update
andnpm i
to install cypressRunning tests
Start ordino_public normally:
docker-compose up
andnpm start
Then open cypress with this command:
npm run cy:open:ordino_public
.Next click on one of the tests to run them. The test runner opens and executes the test.
You can also let them run automatically by running
npm run cy:run:ordino_public