[ci][web] Run tests in canvaskit mode. (#6879)

Configures the flutter/packages CI to run web tests using the `canvaskit` renderer, which is the new default for web apps.

It also does some minor changes:

* Skips tests on the web for `package:palette_generator` (cleanup issue created below)
  * Makes the `palette_generator` example run on the web. This was used to manually verify that the package still works as expected with canvaskit.
* Tweaks the README of the `pointer_interceptor` example apps, so they match what's happening in there.

## Issues

* Fixes https://github.com/flutter/flutter/issues/143543

Co-authored-by: David Iglesias <ditman@gmail.com>
This commit is contained in:
Mouad Debbar
2024-07-11 17:04:54 -04:00
committed by GitHub
parent 0ae6dda5d1
commit da04812172
17 changed files with 146 additions and 36 deletions

View File

@ -331,7 +331,7 @@ test_on: vm && browser
'test',
'--color',
'--platform=chrome',
'--web-renderer=html'
'--web-renderer=canvaskit',
],
package.path),
]),
@ -360,7 +360,7 @@ test_on: vm && browser
'test',
'--color',
'--platform=chrome',
'--web-renderer=html'
'--web-renderer=canvaskit',
],
plugin.path),
]),
@ -390,7 +390,7 @@ test_on: vm && browser
'test',
'--color',
'--platform=chrome',
'--web-renderer=html'
'--web-renderer=canvaskit',
],
plugin.path),
]),
@ -420,7 +420,7 @@ test_on: vm && browser
'test',
'--color',
'--platform=chrome',
'--web-renderer=html'
'--web-renderer=canvaskit',
],
plugin.path),
]),
@ -495,7 +495,7 @@ test_on: vm && browser
'test',
'--color',
'--platform=chrome',
'--web-renderer=html'
'--web-renderer=canvaskit',
],
plugin.path),
]),