Skip to content

Commit

Permalink
working on circle ci failures
Browse files Browse the repository at this point in the history
  • Loading branch information
NiranjanaBinoy committed Jun 27, 2024
1 parent fd90047 commit 6a4d150
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e/tests/metrics/delete-metametrics-data.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const mockSegment = async (mockServer: Mockttp) => {
}),
await mockServer
.forPost(
'https://proxy.dev-api.cx.metamask.io/segment/v1/regulations/sources/wygFTooEUUtcckty9kaMc',
'https://proxy.api.cx.metamask.io/segment/v1/regulations/sources/wygFTooEUUtcckty9kaMc',
)
.withJsonBodyIncluding({
batch: [
Expand All @@ -67,7 +67,7 @@ const mockSegment = async (mockServer: Mockttp) => {
})),
await mockServer
.forGet(
'https://proxy.dev-api.cx.metamask.io/segment/v1/regulations/fake-delete-regulation-id',
'https://proxy.api.cx.metamask.io/segment/v1/regulations/fake-delete-regulation-id',
)
.thenCallback(() => ({
statusCode: 200,
Expand Down Expand Up @@ -119,6 +119,7 @@ describe('Delete MetaMetrics Data @no-mmi', function (this: Suite) {
const deleteMetaMetricsDataButton = await driver.findElement(
rowLocators.deleteMetaMetricsDataButton,
);
// eslint-disable-next-line
await deleteMetaMetricsDataButton.waitForElementState('disabled');
assert.equal(
await deleteMetaMetricsDataButton.isEnabled(),
Expand Down Expand Up @@ -180,6 +181,7 @@ describe('Delete MetaMetrics Data @no-mmi', function (this: Suite) {
const deleteMetaMetricsDataButton = await driver.findElement(
rowLocators.deleteMetaMetricsDataButton,
);
// eslint-disable-next-line
await deleteMetaMetricsDataButton.waitForElementState('disabled');
assert.equal(
await deleteMetaMetricsDataButton.isEnabled(),
Expand Down

0 comments on commit 6a4d150

Please sign in to comment.