Skip to content

Upgrade tests to html2 (part 3) #5544

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.acknowledgement.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.afterSend.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.eventActivity.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.snap.activity.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.snap.activityAndPage.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.snap.default.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.snap.page.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.withPostBack.activity.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/autoScroll.withPostBack.page.js

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// THEN: It should scroll to bottom after send.
await pageConditions.scrollToBottomCompleted();
await pageConditions.minNumActivitiesShown(4);
await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
// EXPECT: Transcript should not scroll further than the "Minim voluptate" activity.
await pageConditions.scrollStabilized(scrollTop);

await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
'scrollable should be at 2 activities + 100px'
);

await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

expect(scrollable.scrollTop).toBe(top - 100);

await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
'scrollable should be at bottom'
);

await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
~~(activityElementAtTopOfViewOffsetTop - scrollable.offsetHeight * 0.8)
);

await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
// EXPECT: Transcript already reached snap point (1 activity), it should not scroll further below.
await pageConditions.scrollStabilized(scrollTop);

await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
// EXPECT: Pause scrolling when the "Minim voluptate" activity (index = 6) is at the top of the screen.
await pageConditions.scrollStabilized(pageObjects.getActivityBoundingBoxes()[6].top);

await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
// THEN: It should stick to the bottom.
await pageConditions.scrollToBottomCompleted();

await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Loading