Skip to content

Correct consecutive get() in cypress instruction #2712 - #2713

Merged
djhi merged 3 commits into
marmelab:masterfrom
JacquesBonet:cypress_get
Jan 3, 2019
Merged

djhi merged 3 commits into
marmelab:masterfrom
JacquesBonet:cypress_get

Conversation

@JacquesBonet

Copy link
Copy Markdown
Contributor
  • Create a new svg access function permitting to acces the right element.
  • correct another problem about headroom css class. This class doesn't exist with a production build using react-script, so use alternative css class.

@djhi djhi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, it seems better indeed

Comment thread cypress/package.json Outdated
"name": "e2e",
"version": "0.1.0",
"scripts": {
"serve": "node ./infinitStart.js",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this needed ? Looks irrelevant to this PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It permits to test simple application interactively. Under cypress, launch a terminal and start
:> yarn serve
launch another terminal and start:
:> yarn start

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes its quite irrelevant to this PR. I agrea.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What's the difference with:

launch a terminal and start make run-simple

launch another terminal and start make test-e2e-local

?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

My solution permits just to launch cypress tests from cypress directory, like the overall test.
Its not important, you can remove it if you like.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are you aware of the npm commands inside the root package.json. If you can't use make, you can:

launch a terminal and start yarn run-simple

launch another terminal and start yarn test-e2e-local

Can you remove the new ones?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sure

@djhi djhi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@djhi djhi added this to the 2.6.0 milestone Jan 3, 2019
@djhi
djhi merged commit c77e0e0 into marmelab:master Jan 3, 2019
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