Skip to content

Commit

Permalink
Fix lint issues. (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
robholland committed Jan 9, 2023
1 parent 3d3392c commit 2b719e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/tests/workflows.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ test.describe('Workflows list', () => {
test('should render decoded Payloads', async ({ page }) => {
await page.getByText('e2e-workflow-1').click();

var region: Locator;
var toggle: Locator;
let region: Locator;
let toggle: Locator;

region = page.getByTestId('inputs-results');

Expand Down Expand Up @@ -67,7 +67,7 @@ test.describe('Workflows list', () => {
await page.getByText('Stack Trace').click();

await expect(
page.getByRole('code', { text: 'github.com/temporalio/ui/e2e.Workflow' }),
page.getByRole('code').filter({ hasText: 'github.com/temporalio/ui/e2e.Workflow' }),
).toBeVisible();
});

Expand All @@ -78,7 +78,7 @@ test.describe('Workflows list', () => {
await page.getByLabel('Query Type').selectOption('current_result');

await expect(
page.getByRole('code', { text: '"Received Plain text input 2"' }),
page.getByRole('code').filter({ hasText: '"Received Plain text input 2"' }),
).toBeVisible();
});
});

0 comments on commit 2b719e2

Please sign in to comment.