summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/e2e/filesystems
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/e2e/filesystems')
-rw-r--r--src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.e2e-spec.ts24
-rw-r--r--src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.po.ts7
2 files changed, 31 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.e2e-spec.ts
new file mode 100644
index 00000000..9c39a925
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.e2e-spec.ts
@@ -0,0 +1,24 @@
+import { Helper } from '../helper.po';
+import { FilesystemsPage } from './filesystems.po';
+
+describe('Filesystems page', () => {
+ let page: FilesystemsPage;
+
+ beforeAll(() => {
+ page = new FilesystemsPage();
+ });
+
+ afterEach(() => {
+ Helper.checkConsole();
+ });
+
+ describe('breadcrumb test', () => {
+ beforeAll(() => {
+ page.navigateTo();
+ });
+
+ it('should open and show breadcrumb', () => {
+ Helper.waitTextToBePresent(Helper.getBreadcrumb(), 'Filesystems');
+ });
+ });
+});
diff --git a/src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.po.ts b/src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.po.ts
new file mode 100644
index 00000000..4f763814
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/e2e/filesystems/filesystems.po.ts
@@ -0,0 +1,7 @@
+import { browser } from 'protractor';
+
+export class FilesystemsPage {
+ navigateTo() {
+ return browser.get('/#/cephfs');
+ }
+}