-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement CheckDataTypeAddedToNewVersion(#1239)
- Loading branch information
1 parent
de7e6f4
commit d1f8edb
Showing
8 changed files
with
199 additions
and
7 deletions.
There are no files selected for viewing
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
22 changes: 22 additions & 0 deletions
22
...nTestApp/test/functional/org/modelcatalogue/core/geb/CreateDataModelNewVersionPage.groovy
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.modelcatalogue.core.geb | ||
|
||
import geb.Page | ||
|
||
class CreateDataModelNewVersionPage extends Page implements InputUtils { | ||
static atCheckWaiting = true | ||
|
||
static at = { $("div.modal-header>h4").text()?.contains('New Version of') } | ||
|
||
static content = { | ||
semanticVersion { $('input#semanticVersion') } | ||
createNewVersionButton { $('a#role_modal_modal-create-new-versionBtn') } | ||
} | ||
|
||
void setNewVersion(String value) { | ||
fillInput(semanticVersion, value) | ||
} | ||
|
||
void createNewVersion() { | ||
createNewVersionButton.click() | ||
} | ||
} |
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
18 changes: 18 additions & 0 deletions
18
...TestApp/test/functional/org/modelcatalogue/core/geb/CreatedDataModelNewVersionPage.groovy
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.modelcatalogue.core.geb | ||
|
||
import geb.Page | ||
|
||
class CreatedDataModelNewVersionPage extends Page implements InputUtils { | ||
static atCheckWaiting = true | ||
|
||
static at = { $("div.modal-header>h4")*.text().join(",").contains('Create new version of') } | ||
|
||
static content = { | ||
hideButton { $('button', text: 'Hide') } | ||
} | ||
|
||
void hide() { | ||
hideButton.click() | ||
} | ||
|
||
} |
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
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
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
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