Skip to content

Commit

Permalink
tech-task/update-init-configs - fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yahorm committed Oct 23, 2020
1 parent 028dab8 commit 01b4afa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createWidget } from '../support/widget';
import Widgets from '../fixtures/Widgets';

describe('Refresh widgets', () => {
const jenkinsJobTitleFirst = 'Jenkins Job';
const jenkinsJobTitleFirst = 'Jenkins Job Test';
const blueColor = 'rgb(25, 140, 189)';
const redColor = 'rgb(225, 49, 47)';
const fakeMocksUrl = 'http://fake-mocks:1234';
Expand Down Expand Up @@ -32,7 +32,7 @@ describe('Refresh widgets', () => {

function changeUrls(url) {
cy.openSettings();
cy.contains('li.MuiListItem-container', 'API Mocks Endpoint')
cy.contains('li.MuiListItem-container', 'API Mocks')
.find('[data-cy="edit-endpoint-edit-button"]')
.click();
cy.get('[data-cy="endpoint-form-url-input"]')
Expand Down

0 comments on commit 01b4afa

Please sign in to comment.