Skip to content

Commit b2c392c

Browse files
committed
Resolve conflicts
1 parent 60ef0b7 commit b2c392c

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

cypress/integration/Student.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ describe('user student E2E', () =>{
1616
cy.contains("Some files are missing").parent().find('button').click()
1717
//Upload files
1818
cy.fixture('./demoData/Blockworld_domain_normal.pddl').then(fileContent => {
19-
cy.get('input[type="file"]').attachFile({
19+
cy.contains('Domain File').parent().parent().parent().find('input[type="file"]').attachFile({
2020
fileContent: fileContent.toString(),
2121
fileName: 'Blockworld_domain_normal.pddl',
2222
mimeType: 'file'
2323
});
2424
});
2525
cy.fixture('./demoData/Blockworld_problem_normal.pddl').then(fileContent => {
26-
cy.contains('Problem File').parentsUntil('div').parent().find('input[type="file"]').attachFile({
26+
cy.contains('Problem File').parent().parent().parent().find('input[type="file"]').attachFile({
2727
fileContent: fileContent.toString(),
2828
fileName: 'Blockworld_problem_normal.pddl',
2929
mimeType: 'file'
3030
});
3131
});
3232
cy.fixture('./demoData/Blocksworld_AP.pddl').then(fileContent => {
33-
cy.contains('Animation File').parentsUntil('div').parent().find('input[type="file"]').attachFile({
33+
cy.contains('Animation File').parent().parent().parent().find('input[type="file"]').attachFile({
3434
fileContent: fileContent.toString(),
3535
fileName: 'Blocksworld_AP.pddl',
3636
mimeType: 'file'
@@ -42,6 +42,6 @@ describe('user student E2E', () =>{
4242
cy.contains('Upload Files').click()
4343
cy.wait(5000)
4444

45-
cy.get('div[style="height: 50px;"]').should("be.visible")
45+
cy.get('canvas').should("be.visible")
4646
})
4747
})

package-lock.json

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4338,6 +4338,11 @@ cyclist@^1.0.1:
43384338
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
43394339
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=
43404340

4341+
cypress-file-upload@^5.0.8:
4342+
version "5.0.8"
4343+
resolved "https://registry.yarnpkg.com/cypress-file-upload/-/cypress-file-upload-5.0.8.tgz#d8824cbeaab798e44be8009769f9a6c9daa1b4a1"
4344+
integrity sha512-+8VzNabRk3zG6x8f8BWArF/xA/W0VK4IZNx3MV0jFWrJS/qKn8eHfa5nU73P9fOQAgwHFJx7zjg4lwOnljMO8g==
4345+
43414346
cypress@^8.6.0:
43424347
version "8.6.0"
43434348
resolved "https://registry.yarnpkg.com/cypress/-/cypress-8.6.0.tgz#8d02fa58878b37cfc45bbfce393aa974fa8a8e22"

0 commit comments

Comments
 (0)