diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c80fff1..904bfe0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: discovery_types: | [ "crawler" ] crawler_urls: | - [ "https://security-crawl-maze.app/html/" ] + [ "https://security-crawl-maze.app/html/body/form" ] hosts_filter: | [ ] - name: Wait for discovery to finish ⏳ diff --git a/src/index.ts b/src/index.ts index 949733b..6767fd2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -45,7 +45,7 @@ asyncPoll( data: state.status }; - const terminalStates = ['failed', 'disrupted', 'stopped', 'done']; + const terminalStates = ['failed', 'stopped', 'complete']; return { done: terminalStates.includes(state.status),