-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add e2e tests for the "move" experiment row action (#10070)
- Loading branch information
1 parent
1c63479
commit 2aad002
Showing
4 changed files
with
105 additions
and
0 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
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
16 changes: 16 additions & 0 deletions
16
webui/react/src/e2e/models/components/ExperimentMoveModal.ts
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,16 @@ | ||
import { Modal } from 'e2e/models/common/hew/Modal'; | ||
import { Select } from 'e2e/models/common/hew/Select'; | ||
|
||
/** | ||
* Represents the ExperimentMoveModal component in src/components/ExperimentMoveModal.tsx | ||
*/ | ||
export default class ExperimentMoveModal extends Modal { | ||
readonly destinationWorkspace = new Select({ | ||
parent: this, | ||
selector: '[data-test="workspace"]', | ||
}); | ||
readonly destinationProject = new Select({ | ||
parent: this, | ||
selector: '[data-test="project"]', | ||
}); | ||
} |
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