-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: login redirect with nested route (#9881)
- Loading branch information
1 parent
8cacba6
commit b4209ef
Showing
2 changed files
with
27 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { DeterminedPage } from 'e2e/models/common/base/BasePage'; | ||
import { DynamicTabs } from 'e2e/models/components/DynamicTabs'; | ||
import { PageComponent } from 'e2e/models/components/Page'; | ||
|
||
/** | ||
* Represents the Cluster page from src/pages/Cluster.tsx | ||
*/ | ||
export class Cluster extends DeterminedPage { | ||
readonly title = 'Cluster'; | ||
readonly url = 'clusters'; | ||
readonly pageComponent = new PageComponent({ parent: this }); | ||
readonly dynamicTabs = new DynamicTabs({ parent: this.pageComponent }); | ||
readonly overviewTab = this.dynamicTabs.pivot.tab('overview'); | ||
readonly historicalUsageTab = this.dynamicTabs.pivot.tab('historical-usage'); | ||
readonly logsTab = this.dynamicTabs.pivot.tab('logs'); | ||
} |
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