Skip to content

Upgrade tests to html2 (part 6) #5547

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 1 commit 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/citation.accordion.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/citation.basic.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/citation.showModal.close.button.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/citation.showModal.close.escape.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/citation.showModal.linkDefinitions.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/citation.showModal.markdown.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/citation.showModal.width.desktop.js

This file was deleted.

5 changes: 0 additions & 5 deletions __tests__/html/citation.showModal.width.mobile.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
type: 'message'
});

await host.snapshot();
await host.snapshot('local');

const summary = pageElements.linkDefinitions()[0].querySelector('summary');

await host.click(summary);
await host.snapshot();
await host.snapshot('local');

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

await host.snapshot();
await host.snapshot('local');

const markdownElement = pageElements.activities()[0].querySelector('.webchat__text-content__markdown');
const markdownLinks = markdownElement.querySelectorAll('a');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
const markdownButtons = markdownElement.querySelectorAll('button');

await host.click(markdownButtons[0]);
await host.snapshot();
await host.snapshot('local');

await host.sendKeys(' ');
await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
const markdownButtons = markdownElement.querySelectorAll('button');

await host.click(markdownButtons[0]);
await host.snapshot();
await host.snapshot('local');

await host.sendTab();
await host.sendKeys('ESCAPE');
await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
const linkDefinitionItems = pageElements.linkDefinitions()[0].querySelectorAll('[role="listitem"] > *');

await host.click(linkDefinitionItems[2]);
await host.snapshot();
await host.snapshot('local');

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

await host.click(markdownButtons[0]);

await host.snapshot();
await host.snapshot('local');

await host.sendTab();
await host.snapshot();
await host.snapshot('local');
});
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
type: 'message'
});

await host.snapshot();
await host.snapshot('local');

const markdownElement = pageElements.activities()[0].querySelector('.webchat__text-content__markdown');
const markdownButtons = markdownElement.querySelectorAll('button');

await host.click(markdownButtons[0]);

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

await host.snapshot();
await host.snapshot('local');

const markdownElement = pageElements.activities()[0].querySelector('.webchat__text-content__markdown');
const markdownButtons = markdownElement.querySelectorAll('button');

await host.click(markdownButtons[0]);

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