-
Notifications
You must be signed in to change notification settings - Fork 31
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
Tests: Initial e2e tests setup #332
Conversation
Add "Add trigger" test Add "Navigate to Add trigger page" test
@@ -18,7 +18,7 @@ export default function NewTagBadge(props: Props): React.Node { | |||
return ( | |||
<div className={cn({ tag: true, removeable: onRemove, focused: focus })}> | |||
{onClick ? ( | |||
<button type="button" onClick={onClick} className={cn("title", "clickable")}> | |||
<button type="button" onClick={onClick} className={cn("title", "clickable")} data-tid="New Tag"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Пробелы в названии - это ок?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not/
Код выглядит немного чище, чем с разделителем дефисом.
Но это вскусовщина. Если считаешь лучше другая нотация, не проблема поменять.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Если ни на что не влияет, то норм
Configuration for start e2e tests on local console, editors or travise CI.
Added command
yarn test:e2e
to run this tests.Added two examples "add trigger" and "navigate to add trigger's page".
Description:
Check users' scenarios use chromium and real API. This helps to check that front and api are working together correctly after updates.
To run locally, you need to install docker.
You don't need to start API and webpack-dev-server himself, jest runs them after lunch.