Replace UI module with Next.js
All checks were successful
forgejo/Procyon/seedling/pipeline/pr-master This commit looks good
forgejo/Procyon/seedling/pipeline/head This commit looks good

This commit is contained in:
Roman Jaroš 2023-12-28 21:58:08 +00:00
parent 8aeff18162
commit 616205fe73
91 changed files with 3570 additions and 722 deletions

View file

@ -0,0 +1,15 @@
import { binding } from 'cucumber-tsflow';
import { By } from 'selenium-webdriver';
import { BasePage } from '../common/BasePage';
@binding()
export class HomePage extends BasePage {
protected url = '/';
// initial div
public root = By.xpath('//body');
// page buttons
public buttons = {};
}

View file

@ -0,0 +1,6 @@
import { By } from 'selenium-webdriver';
export class Navigation {
public root = By.xpath('//div[@class="page-top"]');
public logoutLink = By.xpath(`${this.root.value}//div[contains(text(), "Odhlásit se")]`);
}