-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(e2e): added new cases #6
Conversation
Test Summary - Run #47
❌ Some tests failed!
217717 pixels (ratio 0.07 of all image pixels) are different. Expected: �[33m/home/runner/work/flex-showcases/flex-showcases/e2e/tests/wearables-dashboard/wearables-dashboard.spec.ts-snapshots/init-page-chromium-linux.png�[39m Call log: |
Test Summary - Run #48
🎉 All tests passed! |
import { WearablesDashboardPage } from '../wearables-dashboard/wearables-dashboard.po'; | ||
|
||
test.describe('Wearables dashboard', () => { | ||
test('should have working initial screen', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces indent
import { BasePage } from '../base/base.po'; | ||
|
||
export class WearablesDashboardPage extends BasePage { | ||
public readonly pageAdress = '/wearables-dashboard'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces indent
|
||
public gotoMainPage = async () => await this.goto(this.pageAdress); | ||
public NumberOfStepsChart = () => this.page.getByText('Number of steps by minute', {exact: true}); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add new line in EOF
import { BasePage } from '../base/base.po'; | ||
|
||
export class DashboartFilterpanelPage extends BasePage { | ||
public readonly pageAdress = '/dashboard-filter-panel'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces indent
import { DashboartFilterpanelPage } from './dashboard-filter-panel.po'; | ||
|
||
test.describe('Dashboard filter panel page', () => { | ||
test('should have working initial screen', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces indent
import { BasePage } from '../base/base.po'; | ||
|
||
export class DragNDropChartLibraryPage extends BasePage { | ||
public readonly pageAdress = '/drag-n-drop-chart-library'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces indent
import { DragNDropChartLibraryPage } from './drag-n-drop-chart-library.po'; | ||
|
||
test.describe('Drag and drop page', () => { | ||
test('should have working initial screen', async ({ page }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 spaces indent
e2e/tests/base/base.po.ts
Outdated
constructor(protected page: Page) {} | ||
|
||
public goto = (adress: string) => this.page.goto(adress); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check each file and add. new line to the end of file
Test Summary - Run #51
🎉 All tests passed! |
Test Summary - Run #52
🎉 All tests passed! |
No description provided.