@@ -53,7 +53,7 @@
:aria-label="$t('rooms.files.view')"
target="_blank"
icon="fa-solid fa-eye"
- data-test="room-files-view-button"
+ data-test="room-files-view-system-default-button"
as="a"
:href="file"
/>
diff --git a/tests/Frontend/e2e/RoomsViewFiles.cy.js b/tests/Frontend/e2e/RoomsViewFiles.cy.js
index 942f32a2c..b2cf6b5c0 100644
--- a/tests/Frontend/e2e/RoomsViewFiles.cy.js
+++ b/tests/Frontend/e2e/RoomsViewFiles.cy.js
@@ -81,8 +81,8 @@ describe("Rooms View Files", function () {
.eq(0)
.should("include.text", "File1.pdf")
.and("include.text", "Sep 21, 2020, 09:08")
- .and("include.text", "rooms.files.download_visible")
- .and("include.text", "rooms.files.use_in_next_meeting_disabled")
+ .and("include.text", "rooms.files.download_allowed")
+ .and("include.text", "rooms.files.not_available_in_next_meeting")
.find('[data-test="room-files-view-button"]')
.should(
"have.attr",
@@ -96,8 +96,8 @@ describe("Rooms View Files", function () {
.eq(1)
.should("include.text", "File2.pdf")
.and("include.text", "Sep 21, 2020, 09:08")
- .and("include.text", "rooms.files.download_visible")
- .and("include.text", "rooms.files.use_in_next_meeting")
+ .and("include.text", "rooms.files.download_allowed")
+ .and("include.text", "rooms.files.available_in_next_meeting")
.find('[data-test="room-files-view-button"]')
.should(
"have.attr",
@@ -111,8 +111,8 @@ describe("Rooms View Files", function () {
.eq(2)
.should("include.text", "File3.pdf")
.and("include.text", "Sep 21, 2020, 09:09")
- .and("include.text", "rooms.files.download_hidden")
- .and("include.text", "rooms.files.use_in_next_meeting_disabled")
+ .and("include.text", "rooms.files.download_not_allowed")
+ .and("include.text", "rooms.files.not_available_in_next_meeting")
.find('[data-test="room-files-view-button"]')
.should(
"have.attr",
@@ -184,8 +184,8 @@ describe("Rooms View Files", function () {
.eq(0)
.should("include.text", "File1.pdf")
.and("include.text", "Sep 21, 2020, 09:08")
- .and("not.include.text", "rooms.files.download_visible")
- .and("not.include.text", "rooms.files.use_in_next_meeting_disabled")
+ .and("not.include.text", "rooms.files.download_allowed")
+ .and("not.include.text", "rooms.files.not_available_in_next_meeting")
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled")
.and(
@@ -197,7 +197,7 @@ describe("Rooms View Files", function () {
.and("have.attr", "target", "_blank");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(0)
@@ -208,8 +208,8 @@ describe("Rooms View Files", function () {
.eq(1)
.should("include.text", "File2.pdf")
.and("include.text", "Sep 21, 2020, 09:08")
- .and("not.include.text", "rooms.files.download_visible")
- .and("not.include.text", "rooms.files.use_in_next_meeting")
+ .and("not.include.text", "rooms.files.download_allowed")
+ .and("not.include.text", "rooms.files.available_in_next_meeting")
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled")
.and(
@@ -221,7 +221,7 @@ describe("Rooms View Files", function () {
.and("have.attr", "target", "_blank");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(1)
@@ -426,8 +426,8 @@ describe("Rooms View Files", function () {
.eq(0)
.should("include.text", "File1.pdf")
.and("include.text", "Sep 21, 2020, 03:08")
- .and("not.include.text", "rooms.files.download_visible")
- .and("not.include.text", "rooms.files.use_in_next_meeting_disabled")
+ .and("not.include.text", "rooms.files.download_allowed")
+ .and("not.include.text", "rooms.files.not_available_in_next_meeting")
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled")
.and(
@@ -439,7 +439,7 @@ describe("Rooms View Files", function () {
.and("have.attr", "target", "_blank");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(0)
@@ -450,8 +450,8 @@ describe("Rooms View Files", function () {
.eq(1)
.should("include.text", "File2.pdf")
.and("include.text", "Sep 21, 2020, 03:08")
- .and("not.include.text", "rooms.files.download_visible")
- .and("not.include.text", "rooms.files.use_in_next_meeting")
+ .and("not.include.text", "rooms.files.download_allowed")
+ .and("not.include.text", "rooms.files.available_in_next_meeting")
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled")
.and(
@@ -463,7 +463,7 @@ describe("Rooms View Files", function () {
.and("have.attr", "target", "_blank");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(1)
@@ -830,17 +830,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 03:08");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("not.include.text", "rooms.files.download_visible");
+ .should("not.include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("not.include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("not.include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(0)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(0)
@@ -855,17 +855,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 03:08");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("not.include.text", "rooms.files.download_visible");
+ .should("not.include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("not.include.text", "rooms.files.use_in_next_meeting");
+ .should("not.include.text", "rooms.files.available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(1)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(1)
@@ -911,17 +911,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:08");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("not.include.text", "rooms.files.download_visible");
+ .should("not.include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("not.include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("not.include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(0)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(0)
@@ -936,17 +936,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:08");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("not.include.text", "rooms.files.download_visible");
+ .should("not.include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("not.include.text", "rooms.files.use_in_next_meeting");
+ .should("not.include.text", "rooms.files.available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(1)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(1)
@@ -1010,17 +1010,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 03:08");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("not.include.text", "rooms.files.download_visible");
+ .should("not.include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("not.include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("not.include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(0)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(0)
@@ -1035,17 +1035,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 03:08");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("not.include.text", "rooms.files.download_visible");
+ .should("not.include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("not.include.text", "rooms.files.use_in_next_meeting");
+ .should("not.include.text", "rooms.files.available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(1)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(1)
@@ -1115,17 +1115,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:08");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("not.include.text", "rooms.files.download_visible");
+ .should("not.include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("not.include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("not.include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(0)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(0)
@@ -1140,13 +1140,13 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:08");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("not.include.text", "rooms.files.download_visible");
+ .should("not.include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("not.include.text", "rooms.files.use_in_next_meeting");
+ .should("not.include.text", "rooms.files.available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(1)
@@ -1195,17 +1195,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:08");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("include.text", "rooms.files.download_visible");
+ .should("include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(0)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
@@ -1220,17 +1220,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:08");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("include.text", "rooms.files.download_visible");
+ .should("include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("include.text", "rooms.files.use_in_next_meeting");
+ .should("include.text", "rooms.files.available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(1)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(1)
@@ -1245,17 +1245,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:09");
cy.get('[data-test="room-file-item"]')
.eq(2)
- .should("include.text", "rooms.files.download_hidden");
+ .should("include.text", "rooms.files.download_not_allowed");
cy.get('[data-test="room-file-item"]')
.eq(2)
- .should("include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(2)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(2)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(2)
@@ -1299,17 +1299,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:08");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("include.text", "rooms.files.download_visible");
+ .should("include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(0)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
@@ -1324,17 +1324,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:08");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("include.text", "rooms.files.download_visible");
+ .should("include.text", "rooms.files.download_allowed");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .should("include.text", "rooms.files.use_in_next_meeting");
+ .should("include.text", "rooms.files.available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(1)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(1)
@@ -1349,17 +1349,17 @@ describe("Rooms View Files", function () {
.should("include.text", "Sep 21, 2020, 09:09");
cy.get('[data-test="room-file-item"]')
.eq(2)
- .should("include.text", "rooms.files.download_hidden");
+ .should("include.text", "rooms.files.download_not_allowed");
cy.get('[data-test="room-file-item"]')
.eq(2)
- .should("include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(2)
.find('[data-test="room-files-view-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(2)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(2)
diff --git a/tests/Frontend/e2e/RoomsViewFilesFileActions.cy.js b/tests/Frontend/e2e/RoomsViewFilesFileActions.cy.js
index 83847c5b9..8519ec22b 100644
--- a/tests/Frontend/e2e/RoomsViewFilesFileActions.cy.js
+++ b/tests/Frontend/e2e/RoomsViewFilesFileActions.cy.js
@@ -218,10 +218,10 @@ describe("Rooms view files file actions", function () {
.should("include.text", "Sep 21, 2020, 09:10");
cy.get('[data-test="room-file-item"]')
.eq(3)
- .should("include.text", "rooms.files.download_hidden");
+ .should("include.text", "rooms.files.download_not_allowed");
cy.get('[data-test="room-file-item"]')
.eq(3)
- .should("include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("include.text", "rooms.files.not_available_in_next_meeting");
cy.get('[data-test="room-file-item"]')
.eq(4)
@@ -231,10 +231,10 @@ describe("Rooms view files file actions", function () {
.should("include.text", "Sep 21, 2020, 09:10");
cy.get('[data-test="room-file-item"]')
.eq(4)
- .should("include.text", "rooms.files.download_hidden");
+ .should("include.text", "rooms.files.download_not_allowed");
cy.get('[data-test="room-file-item"]')
.eq(4)
- .should("include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("include.text", "rooms.files.not_available_in_next_meeting");
});
it("upload file errors", function () {
@@ -511,15 +511,15 @@ describe("Rooms view files file actions", function () {
cy.wait("@roomFilesRequest");
- cy.get('[data-test="room-files-edit-dialog"]').should("not.exist");
+ cy.get('[data-test="room-files-configure-dialog"]').should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.click();
- cy.get('[data-test="room-files-edit-dialog"]')
+ cy.get('[data-test="room-files-configure-dialog"]')
.should("be.visible")
- .and("include.text", "rooms.files.edit")
+ .and("include.text", "rooms.files.configure")
.within(() => {
cy.get('[data-test="download-field"]')
.should("include.text", "rooms.files.downloadable")
@@ -528,7 +528,7 @@ describe("Rooms view files file actions", function () {
.click();
cy.get('[data-test="use-in-meeting-field"]')
- .should("include.text", "rooms.files.use_in_next_meeting")
+ .should("include.text", "rooms.files.available_in_next_meeting")
.find("#use_in_meeting")
.should("not.be.checked")
.click();
@@ -587,15 +587,15 @@ describe("Rooms view files file actions", function () {
});
cy.wait("@roomFilesRequest");
- cy.get('[data-test="room-files-edit-dialog"]').should("not.exist");
+ cy.get('[data-test="room-files-configure-dialog"]').should("not.exist");
// Check that file settings were changed
cy.get('[data-test="room-file-item"]')
.eq(0)
- .should("include.text", "rooms.files.download_hidden")
- .and("include.text", "rooms.files.use_in_next_meeting")
- .and("not.include.text", "rooms.files.download_visible")
- .and("not.include.text", "rooms.files.use_in_next_meeting_disabled");
+ .should("include.text", "rooms.files.download_not_allowed")
+ .and("include.text", "rooms.files.available_in_next_meeting")
+ .and("not.include.text", "rooms.files.download_allowed")
+ .and("not.include.text", "rooms.files.not_available_in_next_meeting");
});
it("change file settings errors", function () {
@@ -606,9 +606,9 @@ describe("Rooms view files file actions", function () {
// Check with 404 error (file not found / already deleted)
cy.get('[data-test="room-file-item"]')
.eq(2)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.click();
- cy.get('[data-test="room-files-edit-dialog"]').should("be.visible");
+ cy.get('[data-test="room-files-configure-dialog"]').should("be.visible");
cy.intercept("PUT", "/api/v1/rooms/abc-def-123/files/3", {
statusCode: 404,
@@ -629,7 +629,7 @@ describe("Rooms view files file actions", function () {
}).as("roomFilesRequest");
});
- cy.get('[data-test="room-files-edit-dialog"]')
+ cy.get('[data-test="room-files-configure-dialog"]')
.find('[data-test="dialog-save-button"]')
.click();
@@ -637,7 +637,7 @@ describe("Rooms view files file actions", function () {
cy.wait("@roomFilesRequest");
// Check that file is not shown anymore and dialog is closed
- cy.get('[data-test="room-files-edit-dialog"]').should("not.exist");
+ cy.get('[data-test="room-files-configure-dialog"]').should("not.exist");
cy.get('[data-test="room-file-item"]').should("have.length", 2);
// Check that error message is shown
@@ -646,9 +646,9 @@ describe("Rooms view files file actions", function () {
// Check with 422 error
cy.get('[data-test="room-file-item"]')
.eq(1)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.click();
- cy.get('[data-test="room-files-edit-dialog"]').should("be.visible");
+ cy.get('[data-test="room-files-configure-dialog"]').should("be.visible");
cy.intercept("PUT", "/api/v1/rooms/abc-def-123/files/2", {
statusCode: 422,
@@ -661,14 +661,14 @@ describe("Rooms view files file actions", function () {
},
}).as("editFileRequest");
- cy.get('[data-test="room-files-edit-dialog"]')
+ cy.get('[data-test="room-files-configure-dialog"]')
.find('[data-test="dialog-save-button"]')
.click();
cy.wait("@editFileRequest");
// Check that dialog stayed open and error message is shown
- cy.get('[data-test="room-files-edit-dialog"]')
+ cy.get('[data-test="room-files-configure-dialog"]')
.should("be.visible")
.and("include.text", "The Downloadable field is required.")
.and("include.text", "The Use in the next meeting field is required.")
@@ -682,14 +682,14 @@ describe("Rooms view files file actions", function () {
},
}).as("editFileRequest");
- cy.get('[data-test="room-files-edit-dialog"]')
+ cy.get('[data-test="room-files-configure-dialog"]')
.find('[data-test="dialog-save-button"]')
.click();
cy.wait("@editFileRequest");
// Check that dialog is still open and 422 error messages are hidden
- cy.get('[data-test="room-files-edit-dialog"]')
+ cy.get('[data-test="room-files-configure-dialog"]')
.should("be.visible")
.and("not.include.text", "The Downloadable field is required.")
.and("not.include.text", "The Use in the next meeting field is required.")
@@ -702,20 +702,20 @@ describe("Rooms view files file actions", function () {
]);
// Close dialog
- cy.get('[data-test="room-files-edit-dialog"]')
+ cy.get('[data-test="room-files-configure-dialog"]')
.find('[data-test="dialog-cancel-button"]')
.click();
- cy.get('[data-test="room-files-edit-dialog"]').should("not.exist");
+ cy.get('[data-test="room-files-configure-dialog"]').should("not.exist");
// Check auth errors
cy.checkRoomAuthErrors(
() => {
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.click();
- cy.get('[data-test="room-files-edit-dialog"]')
+ cy.get('[data-test="room-files-configure-dialog"]')
.should("be.visible")
.find('[data-test="dialog-save-button"]')
.click();
@@ -1097,7 +1097,7 @@ describe("Rooms view files file actions", function () {
.should("not.be.disabled");
cy.get('[data-test="room-file-item"]')
.eq(0)
- .find('[data-test="room-files-edit-button"]')
+ .find('[data-test="room-files-configure-button"]')
.should("not.exist");
cy.get('[data-test="room-file-item"]')
.eq(0)
diff --git a/tests/Frontend/fixtures/roomFiles.json b/tests/Frontend/fixtures/roomFiles.json
index d889463fd..3a7581b3e 100644
--- a/tests/Frontend/fixtures/roomFiles.json
+++ b/tests/Frontend/fixtures/roomFiles.json
@@ -29,6 +29,11 @@
}
],
"default": 2,
+ "system_default": {
+ "file": "Default.pdf",
+ "use_in_meeting": true,
+ "use_as_default": false
+ },
"meta": {
"current_page": 1,
"from": 1,
diff --git a/tests/Frontend/fixtures/roomFilesNoDetails.json b/tests/Frontend/fixtures/roomFilesNoDetails.json
index 7723fd8fd..c316cb124 100644
--- a/tests/Frontend/fixtures/roomFilesNoDetails.json
+++ b/tests/Frontend/fixtures/roomFilesNoDetails.json
@@ -13,6 +13,11 @@
"url": "https://example.com/files/File2.pdf?signature=def456"
}
],
+ "system_default": {
+ "file": "Default.pdf",
+ "use_in_meeting": true,
+ "use_as_default": false
+ },
"meta": {
"current_page": 1,
"from": 1,