Skip to content

Scaffold playwright tests #17

Scaffold playwright tests

Scaffold playwright tests #17

Triggered via pull request February 26, 2024 16:05
@jasonbahljasonbahl
synchronize #15
setup-tests
Status Failure
Total duration 3m 47s
Artifacts

e2e-tests.yml

on: pull_request
Matrix: e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 notice
[chromium] › drawer.spec.js:31:1 › should execute a GraphQL query successfully: tests/e2e/specs/drawer.spec.js#L43
1) [chromium] › drawer.spec.js:31:1 › should execute a GraphQL query successfully ──────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('.graphiql-response') Expected string: "\"data\": {\"posts\": {\"nodes\": [{\"databaseId\": 1}]}}" Received string: "​x {  \"data\": {    \"posts\": {      \"nodes\": [        {          \"databaseId\": 1        }      ]    }  },  \"extensions\": {    \"debug\": [      {        \"type\": \"DEBUG_LOGS_INACTIVE\",        \"message\": \"GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled.\"      }    ]  }}" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('.graphiql-response') - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {  
[chromium] › drawer.spec.js:31:1 › should execute a GraphQL query successfully: tests/e2e/specs/drawer.spec.js#L43
1) [chromium] › drawer.spec.js:31:1 › should execute a GraphQL query successfully ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('.graphiql-response') Expected string: "\"data\": {\"posts\": {\"nodes\": [{\"databaseId\": 1}]}}" Received string: "​x {  \"data\": {    \"posts\": {      \"nodes\": [        {          \"databaseId\": 1        }      ]    }  },  \"extensions\": {    \"debug\": [      {        \"type\": \"DEBUG_LOGS_INACTIVE\",        \"message\": \"GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled.\"      }    ]  }}" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('.graphiql-response') - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - lo
[chromium] › drawer.spec.js:31:1 › should execute a GraphQL query successfully: tests/e2e/specs/drawer.spec.js#L43
1) [chromium] › drawer.spec.js:31:1 › should execute a GraphQL query successfully ──────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('.graphiql-response') Expected string: "\"data\": {\"posts\": {\"nodes\": [{\"databaseId\": 1}]}}" Received string: "​x {  \"data\": {    \"posts\": {      \"nodes\": [        {          \"databaseId\": 1        }      ]    }  },  \"extensions\": {    \"debug\": [      {        \"type\": \"DEBUG_LOGS_INACTIVE\",        \"message\": \"GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled.\"      }    ]  }}" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('.graphiql-response') - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - locator resolved to <div class="graphiql-response">…</div> - unexpected value "​x {  "data": {    "posts": {      "nodes": [        {          "databaseId": 1        }      ]    }  },  "extensions": {    "debug": [      {        "type": "DEBUG_LOGS_INACTIVE",        "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled."      }    ]  }}" - lo
E2E tests on Node 18
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [chromium] › drawer.spec.js:31:1 › should execute a GraphQL query successfully ───────────────── 1 passed (32.0s)