We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94a50fa commit c27f8a9Copy full SHA for c27f8a9
1 file changed
cypress/e2e/spec-scratch.cy.js
@@ -49,13 +49,21 @@ describe("Scratch", () => {
49
.should("not.exist");
50
51
const saveAndDownloadPanel = openSaveAndDownloadPanel();
52
+
53
+ // cy.readFile("cypress/fixtures/upload-test-project.sb3", {
54
+ // encoding: null,
55
+ // }).then((contents) => {
56
+ // expect(contents).to.be.instanceOf(ArrayBuffer);
57
+ // });
58
59
+ // upload project
60
saveAndDownloadPanel.uploadProject(
- "cypress/fixtures/upload-test-project.sb3",
61
+ "cypress/fixtures/upload-test-project.sb3"
62
);
63
64
// confirm project has been uploaded
65
getScratchIframeBody()
- .findByRole("button", { name: "test sprite" })
66
+ .findByRole("button", { name: "test sprite" }, { timeout: 50000 })
67
.should("be.visible");
68
69
cy.task("resetDownloads");
0 commit comments