Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 526400b

Browse files
author
Matt Goo
authored
fix(top-app-bar): add material icon imports in screenshot tests (#168)
1 parent 8f3cef5 commit 526400b

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ matrix:
3737
- docker pull mdcreact/screenshots
3838
- docker image ls
3939
script:
40-
- docker run -it --rm --cap-add=SYS_ADMIN -e MDC_GCLOUD_SERVICE_ACCOUNT_KEY="${MDC_GCLOUD_SERVICE_ACCOUNT_KEY}" mdcreact/screenshots /bin/sh -c "git checkout \"${CURRENT_BRANCH}\"; git pull; npm i; /home/pptruser/material-components-web-react/test/screenshot/start.sh; sleep 200s; npm run test:image-diff"
40+
- docker run -it --rm --cap-add=SYS_ADMIN -e MDC_GCLOUD_SERVICE_ACCOUNT_KEY="${MDC_GCLOUD_SERVICE_ACCOUNT_KEY}" mdcreact/screenshots /bin/sh -c "git fetch; git checkout \"${CURRENT_BRANCH}\"; git pull; npm i; /home/pptruser/material-components-web-react/test/screenshot/start.sh; sleep 200s; npm run test:image-diff"

test/screenshot/top-app-bar/fixed.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
5+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
56
<link rel="stylesheet" href="fixed.css">
67
<style>
78
body {

test/screenshot/top-app-bar/prominent.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
5+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
56
<link rel="stylesheet" href="prominent.css">
67
<style>
78
body {

test/screenshot/top-app-bar/short.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
5+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
56
<link rel="stylesheet" href="short.css">
67
<style>
78
body {

test/screenshot/top-app-bar/standard.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
5+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
56
<link rel="stylesheet" href="standard.css">
67
<style>
78
body {

0 commit comments

Comments
 (0)