fix(docs-infra): fix image name in example (#36127)
Closes #35618 PR Close #36127
This commit is contained in:
parent
6fc85073d2
commit
912692137a
@ -30,7 +30,7 @@ describe('Interpolation e2e tests', () => {
|
|||||||
let pottedPlant = element.all(by.css('img')).get(0);
|
let pottedPlant = element.all(by.css('img')).get(0);
|
||||||
let lamp = element.all(by.css('img')).get(1);
|
let lamp = element.all(by.css('img')).get(1);
|
||||||
|
|
||||||
expect(pottedPlant.getAttribute('src')).toContain('pottedPlant');
|
expect(pottedPlant.getAttribute('src')).toContain('potted-plant');
|
||||||
expect(pottedPlant.isDisplayed()).toBe(true);
|
expect(pottedPlant.isDisplayed()).toBe(true);
|
||||||
|
|
||||||
expect(lamp.getAttribute('src')).toContain('lamp');
|
expect(lamp.getAttribute('src')).toContain('lamp');
|
||||||
|
@ -12,7 +12,7 @@ export class AppComponent {
|
|||||||
|
|
||||||
currentCustomer = 'Maria';
|
currentCustomer = 'Maria';
|
||||||
title = 'Featured product:';
|
title = 'Featured product:';
|
||||||
itemImageUrl = '../assets/pottedPlant.png';
|
itemImageUrl = '../assets/potted-plant.png';
|
||||||
|
|
||||||
recommended = 'You might also like:';
|
recommended = 'You might also like:';
|
||||||
itemImageUrl2 = '../assets/lamp.png';
|
itemImageUrl2 = '../assets/lamp.png';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user