-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filter the project before trying to open it in the DSP view
- Loading branch information
1 parent
b564769
commit 4e5953a
Showing
3 changed files
with
26 additions
and
1 deletion.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { projectListPage } from '~/__tests__/cypress/cypress/pages/projects'; | ||
|
||
/** | ||
* Filter Project by name using the Project filter from the Data Science Projects view | ||
* @param projectName Project Name | ||
*/ | ||
export const filterProjectByName = (projectName: string) => { | ||
projectListPage.findProjectsDropdownFilter().click(); | ||
projectListPage.findProjectsDropdownFilterButtonByText("Name").click(); | ||
projectListPage.findProjectsFilterInput().type(projectName); | ||
}; |