Skip to content

Commit

Permalink
Update request
Browse files Browse the repository at this point in the history
  • Loading branch information
amitbadala committed Oct 24, 2023
1 parent 16b38e5 commit 9136be9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/end-to-end/signup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ describe("SuperTokens SignUp", function () {

// CUSTOM FIELDS TEST

describe.only("Signup custom fields test", function () {
describe("Signup custom fields test", function () {
beforeEach(async function () {
// set cookie and reload which loads the form with custom field
await page.evaluate(() => window.localStorage.setItem("SHOW_CUSTOM_FIELDS", "YES"));
Expand Down Expand Up @@ -414,6 +414,8 @@ describe("SuperTokens SignUp", function () {
Object.keys(customFields).every((key) => {
assert.strictEqual(data[key], customFields[key]);
});
// remove it after updating backend to handle the custom fields
return request.abort();
}
return request.continue();
};
Expand Down

0 comments on commit 9136be9

Please sign in to comment.