fix(app): fix techdocs initial scroll e2e
Signed-off-by: Rémi Doreau <remi.d45@gmail.com>
This commit is contained in:
@@ -94,8 +94,12 @@ describe('TechDocs', () => {
|
||||
'/docs/default/Component/backstage/overview/roadmap/#future-work',
|
||||
);
|
||||
|
||||
// This is used to test the post-render behavior of the techdocs Reader
|
||||
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
||||
cy.wait(500);
|
||||
|
||||
return cy.getTechDocsShadowRoot().within(() => {
|
||||
return cy.get('#future-work').then($el => {
|
||||
cy.get('#future-work').then($el => {
|
||||
cy.window()
|
||||
.its('scrollY')
|
||||
.should($scrollY => {
|
||||
|
||||
Reference in New Issue
Block a user