From 05c120035e21e590f42960d1d3c453399daabe1e Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Fri, 18 Aug 2023 10:28:19 +0200 Subject: [PATCH] test: update shell tests (#10749) --- .../chrome-headless-shell/chrome-headless-shell-data.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/browsers/test/src/chrome-headless-shell/chrome-headless-shell-data.spec.ts b/packages/browsers/test/src/chrome-headless-shell/chrome-headless-shell-data.spec.ts index b65ea146cca..751ee427a40 100644 --- a/packages/browsers/test/src/chrome-headless-shell/chrome-headless-shell-data.spec.ts +++ b/packages/browsers/test/src/chrome-headless-shell/chrome-headless-shell-data.spec.ts @@ -48,8 +48,9 @@ describe('chrome-headless-shell', () => { ); }); + // TODO: once no new releases happen for the milestone, we can use the exact match. it('should resolve milestones', async () => { - assert.strictEqual(await resolveBuildId('118'), '118.0.5950.0'); + assert((await resolveBuildId('118'))?.startsWith('118.0')); }); it('should resolve build prefix', async () => {