Skip to content

Commit

Permalink
- fix: defillama test
Browse files Browse the repository at this point in the history
  • Loading branch information
agallardol committed Dec 17, 2024
1 parent 5d9cfc0 commit 13a8752
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions apps/shinkai-tool-defillama-tvl-rankings/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Deno.test('exists definition', () => {
Deno.test({
name: 'run using top10=false, categoryName=Liquid Staking, networkName=Ethereum',
ignore: Deno.env.get('CI') === 'true' || Deno.build.os === 'windows',
sanitizeResources: false,
sanitizeOps: false,
fn: async () => {
const run_result = await run(
{
Expand Down
4 changes: 2 additions & 2 deletions apps/shinkai-tool-defillama-tvl-rankings/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const withPage = async <T>(
): Promise<T> => {
const browser = await playwright['chromium'].launch({
executablePath: chromePath,
headless: true,
headless: false,
});

const context = await browser.newContext({
Expand Down Expand Up @@ -135,7 +135,7 @@ const getHeaders = async (
page: playwright.Page,
): Promise<(string | null)[]> => {
const locator = page.locator(
'#table-header > div > div:nth-child(3) > span > span',
'#table-header > div > div:nth-child(3) > span',
{ hasText: 'Name' },
);
await locator.waitFor({ state: 'visible' });
Expand Down

0 comments on commit 13a8752

Please sign in to comment.