Skip to content

Commit

Permalink
Merge pull request #5881 from Countly/updated-settings-security-respo…
Browse files Browse the repository at this point in the history
…nse-header-text

Updated settings security response header text
  • Loading branch information
can-angun authored Dec 20, 2024
2 parents 10a5053 + abea513 commit 1c717b8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ const verifyPageElements = () => {

cy.verifyElement({
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.API_ADDITIONAL_HEADERS }).SELECTED_SUBFEATURE_TEXTAREA,
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nAccess-Control-Allow-Origin:*",
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nAccess-Control-Allow-Origin:*",
});

cy.verifyElement({
Expand All @@ -740,7 +740,7 @@ const verifyPageElements = () => {

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

cy.verifyElement({
Expand Down Expand Up @@ -1844,4 +1844,4 @@ const verifyPageElements = () => {

module.exports = {
verifyPageElements
};
};

0 comments on commit 1c717b8

Please sign in to comment.