commit
a656d71959
@ -21,7 +21,7 @@ const {
|
|||||||
} = require("./test_utils.js");
|
} = require("./test_utils.js");
|
||||||
|
|
||||||
describe("Annotation highlight", () => {
|
describe("Annotation highlight", () => {
|
||||||
fdescribe("annotation-highlight.pdf", () => {
|
describe("annotation-highlight.pdf", () => {
|
||||||
let pages;
|
let pages;
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
@ -459,12 +459,12 @@ describe("ResetForm action", () => {
|
|||||||
await closePages(pages);
|
await closePages(pages);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("must check that the annotation has a popup", async () => {
|
it("must check that the FreeText annotation has a popup", async () => {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
pages.map(async ([browserName, page]) => {
|
pages.map(async ([browserName, page]) => {
|
||||||
await page.click("[data-annotation-id='10R']");
|
await page.click("[data-annotation-id='10R']");
|
||||||
await page.waitForFunction(
|
await page.waitForFunction(
|
||||||
`document.querySelector("[data-annotation-id='10R'] .popupWrapper").hidden !== undefined`
|
`document.querySelector("[data-annotation-id='10R']").hidden === false`
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
@ -487,7 +487,7 @@ describe("ResetForm action", () => {
|
|||||||
await closePages(pages);
|
await closePages(pages);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("must check that the annotation has a popup", async () => {
|
it("must check that the Ink annotation has a popup", async () => {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
pages.map(async ([browserName, page]) => {
|
pages.map(async ([browserName, page]) => {
|
||||||
await page.waitForFunction(
|
await page.waitForFunction(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user