Skip to content

Commit b00b7db

Browse files
author
Benjamin Perez
committed
Fixed tests
1 parent 596be35 commit b00b7db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

portal-ui/tests/permissions-1/iamPolicies.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ test("Create Policy modal can be submitted after inputs are entered", async (t)
7979
.typeText(elements.createPolicyName, constants.TEST_IAM_POLICY_NAME)
8080
.typeText(elements.createPolicyTextfield, constants.TEST_IAM_POLICY, {
8181
paste: true,
82+
replace: true,
8283
})
8384
.click(elements.saveButton);
8485
}).after(async (t) => {
@@ -98,6 +99,7 @@ test("Created Policy can be viewed and deleted", async (t) => {
9899
.typeText(elements.createPolicyName, constants.TEST_IAM_POLICY_NAME)
99100
.typeText(elements.createPolicyTextfield, constants.TEST_IAM_POLICY, {
100101
paste: true,
102+
replace: true,
101103
})
102104
.click(elements.saveButton)
103105
.typeText(elements.searchResourceInput, constants.TEST_IAM_POLICY_NAME)

0 commit comments

Comments
 (0)