Skip to content

Commit b2a0d49

Browse files
committed
Fixed linter errors
1 parent a8ef56d commit b2a0d49

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

ui-tests/cypress/e2e/dashboard/feedback/ratings/widgets.cy.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ const { RATING_SYMBOLS } = require('../../../../support/constants');
1010
const helper = require('../../../../support/helper');
1111

1212
describe('Create New Widget', () => {
13-
beforeEach(function () {
13+
beforeEach(function() {
1414
navigationHelpers.goToLoginPage();
1515
loginHelpers.login(user.username, user.password);
1616
navigationHelpers.goToFeedbackRatingsWidgetsPage();
1717
});
1818

19-
it('Verify default values of page and create a widget with that values and then update the widget data', function () {
19+
it('Verify default values of page and create a widget with that values and then update the widget data', function() {
2020
widgetsHelpers.clickAddNewWidgetButton();
2121
widgetsHelpers.verifySettingsPageDefaultElements();
2222
widgetsHelpers.typeWidgetName("My New Widget");
@@ -189,7 +189,7 @@ describe('Create New Widget', () => {
189189

190190
widgetsHelpers.clickNextStepButton(),
191191

192-
widgetsHelpers.clickShowOnlyCheckbox();
192+
widgetsHelpers.clickShowOnlyCheckbox();
193193
widgetsHelpers.typeShowOnlyPages(...['/homepage', '/shopping', '/checkout']);
194194

195195
widgetsHelpers.clickSaveButton();
@@ -273,11 +273,11 @@ describe('Create New Widget', () => {
273273
});
274274
});
275275

276-
it('Create a widget with updated text then stop the widget from details page', function () {
276+
it('Create a widget with updated text then stop the widget from details page', function() {
277277
const widget = generateWidgetFixture();
278278

279279
widgetsHelpers.clickAddNewWidgetButton(),
280-
widgetsHelpers.typeWidgetName(widget.widgetName);
280+
widgetsHelpers.typeWidgetName(widget.widgetName);
281281
widgetsHelpers.typeQuestion(widget.question);
282282
widgetsHelpers.typeEmojiOneText(widget.emojiOneText);
283283
widgetsHelpers.typeEmojiTwoText(widget.emojiTwoText);
@@ -341,7 +341,7 @@ describe('Create New Widget', () => {
341341

342342
widgetsHelpers.clickNextStepButton(),
343343

344-
widgetsHelpers.clickShowOnlyCheckbox();
344+
widgetsHelpers.clickShowOnlyCheckbox();
345345
widgetsHelpers.typeShowOnlyPages(...['/homepage', '/shopping', '/checkout']);
346346

347347
widgetsHelpers.clickSaveButton();
@@ -417,7 +417,7 @@ describe('Create New Widget', () => {
417417
});
418418
});
419419

420-
it('Verify next step button activation, the entered data exist when returning to the previous pages and creating a passive widget and deleting the widget', function () {
420+
it('Verify next step button activation, the entered data exist when returning to the previous pages and creating a passive widget and deleting the widget', function() {
421421
const widget = generateWidgetFixture();
422422

423423
widgetsHelpers.clickAddNewWidgetButton();
@@ -533,7 +533,7 @@ describe('Create New Widget', () => {
533533
widgetsHelpers.shouldBeWidgetDeleted(widget.question);
534534
});
535535

536-
it('Verify widget details comment and rating tab data', function () {
536+
it('Verify widget details comment and rating tab data', function() {
537537
widgetsHelpers.clickAddNewWidgetButton();
538538
const widget = generateWidgetFixture();
539539

ui-tests/cypress/lib/dashboard/feedback/ratings/widgets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ const verifySettingsPageElements = ({
188188
}
189189

190190
cy.scrollPageToBottom('.cly-vue-drawer__steps-container.is-multi-step');
191-
191+
192192
cy.verifyElement({
193193
labelElement: feedbackRatingWidgetsPageElements.BUTTON_CALLOUT_LABEL,
194194
labelText: "Button Callout",

0 commit comments

Comments
 (0)