From 67355b70d312e623583f55ffdbf42c03411109fb Mon Sep 17 00:00:00 2001 From: Umanskiy Aleksey Date: Wed, 27 Nov 2024 15:45:43 +0200 Subject: [PATCH] fix(e2e): updated e2e --- apps/ngx-bootstrap-docs-e2e/src/support/accordion.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/alerts.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/buttons.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/carousel.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/collapse.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/datepicker.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/dropdowns.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/landing.po.ts | 4 ++-- apps/ngx-bootstrap-docs-e2e/src/support/modals.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/pagination.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/popover.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/progressbar.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/rating.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/sortable.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/tabs.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/timepicker.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/tooltip.po.ts | 2 +- apps/ngx-bootstrap-docs-e2e/src/support/typeahead.po.ts | 2 +- 18 files changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/accordion.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/accordion.po.ts index ccefff2249..754ae29360 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/accordion.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/accordion.po.ts @@ -2,7 +2,7 @@ import { expect, ConsoleMessage } from '@playwright/test'; import { BasePo } from './base.po'; export class AccordionPo extends BasePo { - override pageUrl = '#/components/accordion'; + override pageUrl = '/ngx-bootstrap/components/accordion'; pageTitle = 'Accordion'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/accordion'; additionalHtml = '.badge'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/alerts.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/alerts.po.ts index 21b95b231f..ad875057cb 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/alerts.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/alerts.po.ts @@ -2,7 +2,7 @@ import { expect } from '@playwright/test'; import { BasePo } from './base.po'; export class AlertsPo extends BasePo { - override pageUrl = '#/components/alerts'; + override pageUrl = '/ngx-bootstrap/components/alerts'; pageTitle = 'Alerts'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/alert'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/buttons.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/buttons.po.ts index 26833e4cfc..3043e579f7 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/buttons.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/buttons.po.ts @@ -2,7 +2,7 @@ import { expect } from '@playwright/test'; import { BasePo } from './base.po'; export class ButtonsPo extends BasePo { - override pageUrl = '#/components/buttons'; + override pageUrl = '/ngx-bootstrap/components/buttons'; pageTitle = 'Buttons'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/buttons'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/carousel.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/carousel.po.ts index fe0359570f..c83fe9c6fc 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/carousel.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/carousel.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class CarouselPo extends BaseComponent { - pageUrl = '#/components/carousel'; + pageUrl = '/ngx-bootstrap/components/carousel'; pageTitle = 'Carousel'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/carousel'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/collapse.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/collapse.po.ts index 09e3c7ebb5..6e0fd83f6f 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/collapse.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/collapse.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class CollapsePo extends BaseComponent { - pageUrl = '#/components/collapse'; + pageUrl = '/ngx-bootstrap/components/collapse'; pageTitle = 'Collapse'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/collapse'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/datepicker.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/datepicker.po.ts index 4872409e7e..21cb1a7432 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/datepicker.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/datepicker.po.ts @@ -5,7 +5,7 @@ import * as globalLocales from 'ngx-bootstrap/locale'; import * as moment from 'moment'; export class DatepickerPo extends BaseComponent { - pageUrl = '#/components/datepicker'; + pageUrl = '/ngx-bootstrap/components/datepicker'; pageTitle = 'Datepicker'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/datepicker'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/dropdowns.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/dropdowns.po.ts index b900ee7cf0..9de9756177 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/dropdowns.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/dropdowns.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class DropdownsPo extends BaseComponent { - pageUrl = '#/components/dropdowns'; + pageUrl = '/ngx-bootstrap/components/dropdowns'; pageTitle = 'Dropdowns'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/dropdown'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/landing.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/landing.po.ts index 5600d9c22f..8f660713eb 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/landing.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/landing.po.ts @@ -1,8 +1,8 @@ import { BaseComponent } from './base.component'; export class LandingPo extends BaseComponent { - pageUrl = '#/'; - documentationUrl = '#/documentation/'; + pageUrl = '/ngx-bootstrap/'; + documentationUrl = '/ngx-bootstrap/documentation/'; mainClass = '.main'; logoAtHeader = '[data-cypress="logoAtHeader"]'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/modals.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/modals.po.ts index 7e352645bd..80e007bd8b 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/modals.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/modals.po.ts @@ -2,7 +2,7 @@ import { BaseComponent } from './base.component'; import PositionType = Cypress.PositionType; export class ModalsPo extends BaseComponent { - pageUrl = '#/components/modals'; + pageUrl = '/ngx-bootstrap/components/modals'; pageTitle = 'Modals'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/modal'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/pagination.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/pagination.po.ts index 61141dc5b7..7bb734f542 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/pagination.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/pagination.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class PaginationPo extends BaseComponent { - pageUrl = '#/components/pagination'; + pageUrl = '/ngx-bootstrap/components/pagination'; pageTitle = 'Pagination'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/pagination'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/popover.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/popover.po.ts index 0f03dedddb..8b5cb3da2c 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/popover.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/popover.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class PopoverPo extends BaseComponent { - pageUrl = '#/components/popover'; + pageUrl = '/ngx-bootstrap/components/popover'; pageTitle = 'Popover'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/popover'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/progressbar.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/progressbar.po.ts index eba46fafb5..f14fe2ee7f 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/progressbar.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/progressbar.po.ts @@ -2,7 +2,7 @@ import { BaseComponent } from './base.component'; import { AttrObj } from './interfaces'; export class ProgressbarPo extends BaseComponent { - pageUrl = '#/components/progressbar'; + pageUrl = '/ngx-bootstrap/components/progressbar'; pageTitle = 'Progressbar'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/progressbar'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/rating.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/rating.po.ts index 29983f3d64..5a6c8327d2 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/rating.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/rating.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class RatingPo extends BaseComponent { - pageUrl = '#/components/rating'; + pageUrl = '/ngx-bootstrap/components/rating'; pageTitle = 'Rating'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/rating'; tagRating = 'rating'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/sortable.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/sortable.po.ts index 7fd375195d..b5ddfd473e 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/sortable.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/sortable.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class SortablePo extends BaseComponent { - pageUrl = '#/components/sortable'; + pageUrl = '/ngx-bootstrap/components/sortable'; pageTitle = 'Sortable'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/blob/development/src/sortable'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/tabs.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/tabs.po.ts index f8aacbb12c..47885ff080 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/tabs.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/tabs.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class TabsPo extends BaseComponent { - pageUrl = '#/components/tabs'; + pageUrl = '/ngx-bootstrap/components/tabs'; pageTitle = 'Tabs'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/tabs'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/timepicker.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/timepicker.po.ts index fb60325d22..96e5b042ff 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/timepicker.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/timepicker.po.ts @@ -3,7 +3,7 @@ import ObjectLike = Cypress.ObjectLike; import TriggerOptions = Cypress.TriggerOptions; export class TimepickerPo extends BaseComponent { - pageUrl = '#/components/timepicker'; + pageUrl = '/ngx-bootstrap/components/timepicker'; pageTitle = 'Timepicker'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/timepicker'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/tooltip.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/tooltip.po.ts index 616a93e24b..b778589bee 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/tooltip.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/tooltip.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class TooltipPo extends BaseComponent { - pageUrl = '#/components/tooltip'; + pageUrl = '/ngx-bootstrap/components/tooltip'; pageTitle = 'Tooltip'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/tooltip'; diff --git a/apps/ngx-bootstrap-docs-e2e/src/support/typeahead.po.ts b/apps/ngx-bootstrap-docs-e2e/src/support/typeahead.po.ts index 478f22e93a..482dad04e3 100644 --- a/apps/ngx-bootstrap-docs-e2e/src/support/typeahead.po.ts +++ b/apps/ngx-bootstrap-docs-e2e/src/support/typeahead.po.ts @@ -1,7 +1,7 @@ import { BaseComponent } from './base.component'; export class TypeaheadPo extends BaseComponent { - pageUrl = '#/components/typeahead'; + pageUrl = '/ngx-bootstrap/components/typeahead'; pageTitle = 'Typeahead'; ghLinkToComponent = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/typeahead';