Skip to content

Commit 375aca4

Browse files
authored
Merge pull request #6028 from Countly/update-settings-security-add-head-text
Settings security additional headers text updated
2 parents 5da1734 + 689e8cc commit 375aca4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ui-tests/cypress/lib/dashboard/manage/configurations/configurations.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,7 @@ const verifyPageElements = () => {
724724
});
725725

726726
cy.verifyElement({
727-
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.API_ADDITIONAL_HEADERS }).SELECTED_SUBFEATURE_TEXTAREA,
728-
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nAccess-Control-Allow-Origin:*",
727+
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.API_ADDITIONAL_HEADERS }).SELECTED_SUBFEATURE_TEXTAREA
729728
});
730729

731730
cy.verifyElement({
@@ -740,7 +739,6 @@ const verifyPageElements = () => {
740739

741740
cy.verifyElement({
742741
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.DASHBOARD_ADDITIONAL_HEADERS }).SELECTED_SUBFEATURE_TEXTAREA,
743-
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000 ; includeSubDomains\nX-Content-Type-Options: nosniff"
744742
});
745743

746744
cy.verifyElement({
@@ -1844,4 +1842,4 @@ const verifyPageElements = () => {
18441842

18451843
module.exports = {
18461844
verifyPageElements
1847-
};
1845+
};

0 commit comments

Comments
 (0)