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

feat: Improve Cypress setup and structure #141

Merged
merged 6 commits into from
Aug 11, 2022
Merged

feat: Improve Cypress setup and structure #141

merged 6 commits into from
Aug 11, 2022

Conversation

dvvanessastoiber
Copy link
Contributor

@dvvanessastoiber dvvanessastoiber commented Jul 22, 2022

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. The integration 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.
  • Tests are in tdp_publicdb

Requirements to run

yo phovea:update and npm i to install cypress

Running tests

Start ordino_public normally: docker-compose up and npm 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

@thinkh thinkh changed the title Update Cypress Test Setup feat: Improve Cypress setup and structure Aug 11, 2022
@thinkh thinkh merged commit 212fec2 into develop Aug 11, 2022
@thinkh thinkh deleted the cypress_testing branch August 11, 2022 07:30
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 <michael.puehringer@datavisyn.io>

* Fix robot.txt import

* prepare release 13.0.0

Co-authored-by: Florian Engertsberger <florian.engertsberger@datavisyn.io>
Co-authored-by: Holger Stitz <holger.stitz@datavisyn.io>
Co-authored-by: anita-steiner <>
Co-authored-by: Anita Steiner <anita.steiner@datavisyn.io>
Co-authored-by: datavisyn-bot <32451285+datavisyn-bot@users.noreply.github.com>
Co-authored-by: Michael Puehringer <michael.puehringer@datavisyn.io>
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 <michael.puehringer@datavisyn.io>

* Fix robot.txt import

* prepare next dev version

* add: release notes for Ordino release v10.1 (#147)

Co-authored-by: oltionchampari <oltion.champari@datavisyn.io>
Closes Caleydo/tdp_bi_bioinfodb#1407

* prepare release 13.1.0

Co-authored-by: Florian Engertsberger <florian.engertsberger@datavisyn.io>
Co-authored-by: Holger Stitz <holger.stitz@datavisyn.io>
Co-authored-by: anita-steiner <>
Co-authored-by: Anita Steiner <anita.steiner@datavisyn.io>
Co-authored-by: datavisyn-bot <32451285+datavisyn-bot@users.noreply.github.com>
Co-authored-by: Michael Puehringer <michael.puehringer@datavisyn.io>
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 <michael.puehringer@datavisyn.io>

* Fix robot.txt import

* prepare next dev version

* add: release notes for Ordino release v10.1 (#147)

Co-authored-by: oltionchampari <oltion.champari@datavisyn.io>
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 <florian.engertsberger@datavisyn.io>
Co-authored-by: dvvanessastoiber <vanessa.stoiber@datavisyn.io>
Co-authored-by: Holger Stitz <holger.stitz@datavisyn.io>
Co-authored-by: anita-steiner <>
Co-authored-by: Anita Steiner <anita.steiner@datavisyn.io>
Co-authored-by: Vanessa Stoiber <52395160+dvvanessastoiber@users.noreply.github.com>
Co-authored-by: datavisyn-bot <32451285+datavisyn-bot@users.noreply.github.com>
Co-authored-by: Michael Puehringer <michael.puehringer@datavisyn.io>
@thinkh thinkh mentioned this pull request Jul 28, 2023
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants