From e140cdcb34e23bd3225ffc755daf46b0de34855e Mon Sep 17 00:00:00 2001 From: Sonu Kapoor Date: Wed, 18 Mar 2020 14:23:02 -0400 Subject: [PATCH] fix(docs-infra): fix image name in example (#36127) Closes #35618 PR Close #36127 --- aio/content/examples/interpolation/e2e/src/app.e2e-spec.ts | 2 +- aio/content/examples/interpolation/src/app/app.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/examples/interpolation/e2e/src/app.e2e-spec.ts b/aio/content/examples/interpolation/e2e/src/app.e2e-spec.ts index 06def93fc6..475e35c255 100644 --- a/aio/content/examples/interpolation/e2e/src/app.e2e-spec.ts +++ b/aio/content/examples/interpolation/e2e/src/app.e2e-spec.ts @@ -30,7 +30,7 @@ describe('Interpolation e2e tests', () => { let pottedPlant = element.all(by.css('img')).get(0); 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(lamp.getAttribute('src')).toContain('lamp'); diff --git a/aio/content/examples/interpolation/src/app/app.component.ts b/aio/content/examples/interpolation/src/app/app.component.ts index 06bb18afc0..1fffef735a 100644 --- a/aio/content/examples/interpolation/src/app/app.component.ts +++ b/aio/content/examples/interpolation/src/app/app.component.ts @@ -12,7 +12,7 @@ export class AppComponent { currentCustomer = 'Maria'; title = 'Featured product:'; - itemImageUrl = '../assets/pottedPlant.png'; + itemImageUrl = '../assets/potted-plant.png'; recommended = 'You might also like:'; itemImageUrl2 = '../assets/lamp.png';