record network traces

This commit is contained in:
Asier Isayas
2025-12-29 15:53:18 -05:00
parent 9bdb995e14
commit 79e9f3a843
2 changed files with 8 additions and 5 deletions

View File

@@ -11,8 +11,8 @@ export default defineConfig({
reporter: process.env.CI ? "blob" : "html",
timeout: 10 * 60 * 1000,
use: {
trace: "off",
video: "off",
trace: "on-first-retry",
video: "on-first-retry",
screenshot: "on",
testIdAttribute: "data-test",
contextOptions: {

View File

@@ -42,9 +42,12 @@ test.describe("Autoscale and Manual throughput", () => {
await expect(explorer.commandBarButton(CommandBarButton.Save)).toBeEnabled();
await explorer.commandBarButton(CommandBarButton.Save).click();
await expect(explorer.getConsoleMessage()).toContainText(`Successfully updated offer for collection ${containerId}`, {
timeout: ONE_MINUTE_MS,
});
await expect(explorer.getConsoleMessage()).toContainText(
`Successfully updated offer for collection ${containerId}`,
{
timeout: ONE_MINUTE_MS,
},
);
};
test("Update autoscale max throughput", async ({ page }) => {