Skip to content

Commit

Permalink
coordinates cypress create format
Browse files Browse the repository at this point in the history
  • Loading branch information
gmonso committed Dec 26, 2023
1 parent c4c6340 commit 1d373df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions e2e/features/coordinates/CreateCoordinate.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Feature: Create Coordinate
When I go to the coordinate list page
And I click on add coordinte button
And I fill the form with
| FIELD | VALUE |
| coordinate | 41.40338,2.17403 |
| FIELD | VALUE |
| coordinate | 41.40338,2.17403 |
And I click the "Create" button
Then I am redirected to the coordinate detail page

Expand All @@ -19,6 +19,6 @@ Feature: Create Coordinate
When I go to the coordinate list page
And I click on add coordinte button
And I fill the form with
| FIELD | VALUE |
| coordinate | 300.40338,2.17403 |
| FIELD | VALUE |
| coordinate | 300.40338,2.17403 |
Then Create button should be disabled
4 changes: 2 additions & 2 deletions e2e/steps/coordinates/create-coordinate.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DataTable } from '@cucumber/cucumber';
import { Given, When, Then, And } from 'cypress-cucumber-preprocessor/steps';
import {DataTable} from '@cucumber/cucumber';
import {Given, Then, When} from 'cypress-cucumber-preprocessor/steps';

Given(/^I'm in the homepage logged in as an admin$/, function () {
cy.visit('http://localhost:4200');
Expand Down

0 comments on commit 1d373df

Please sign in to comment.