Skip to content

Commit 1c64ef2

Browse files
committed
Fix some lint
Signed-off-by: Ryan Liang <[email protected]>
1 parent da08066 commit 1c64ef2

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.cypress/integration/datasources_test/datasources_basic_ui.spec.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ import {
1111

1212
const manageDataSourcesTag = 'button[data-test-subj="manage"]';
1313
const newDataSourcesTag = 'button[data-test-subj="new"]';
14-
const createS3Button = '[data-test-subj="datasource_card_s3glue"]'
14+
const createS3Button = '[data-test-subj="datasource_card_s3glue"]';
1515
const createPrometheusButton = '[data-test-subj="datasource_card_prometheus"]';
1616

1717
const visitDatasourcesHomePage = () => {
1818
cy.visit(FONTEND_BASE_PATH + DATASOURCES_API_PREFIX);
19-
}
19+
};
2020

2121
const visitDatasourcesCreationPage = () => {
2222
cy.visit(FONTEND_BASE_PATH + DATASOURCES_PATH.DATASOURCES_CREATION_BASE);
23-
}
23+
};
2424

2525
describe('Integration tests for datasources plugin', () => {
2626
it('Navigates to datasources plugin and expects the correct header', () => {
@@ -51,7 +51,10 @@ describe('Integration tests for datasources plugin', () => {
5151
visitDatasourcesCreationPage();
5252

5353
cy.get(createS3Button).should('be.visible').click();
54-
cy.url().should('include', DATASOURCES_PATH.DATASOURCES_CONFIG_BASE + '/AmazonS3AWSGlue')
54+
cy.url().should(
55+
'include',
56+
DATASOURCES_PATH.DATASOURCES_CONFIG_BASE + '/AmazonS3AWSGlue'
57+
);
5558

5659
cy.get('h1.euiTitle.euiTitle--medium')
5760
.should('be.visible')
@@ -62,7 +65,10 @@ describe('Integration tests for datasources plugin', () => {
6265
visitDatasourcesCreationPage();
6366

6467
cy.get(createPrometheusButton).should('be.visible').click();
65-
cy.url().should('include', DATASOURCES_PATH.DATASOURCES_CONFIG_BASE + '/Prometheus')
68+
cy.url().should(
69+
'include',
70+
DATASOURCES_PATH.DATASOURCES_CONFIG_BASE + '/Prometheus'
71+
);
6672

6773
cy.get('h4.euiTitle.euiTitle--medium')
6874
.should('be.visible')

.cypress/utils/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const DATASOURCES_API_PREFIX = '/app/datasources';
1515
export const DATASOURCES_PATH = {
1616
DATASOURCES_CREATION_BASE: `${DATASOURCES_API_PREFIX}#/new`,
1717
DATASOURCES_CONFIG_BASE: `${DATASOURCES_API_PREFIX}#/configure`
18-
}
18+
};
1919

2020
// trace analytics
2121
export const TRACE_ID = '8832ed6abbb2a83516461960c89af49d';

0 commit comments

Comments
 (0)