-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Drashti Modasara
committed
Nov 21, 2023
1 parent
e7f6252
commit f9787b3
Showing
7 changed files
with
182 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { readFile } from '@web/test-runner-commands'; | ||
import { expect } from '@esm-bundle/chai'; | ||
import setInteractiveFirefly from '../../../creativecloud/features/genfill/genfill-interactive.js'; | ||
|
||
document.body.innerHTML = await readFile({ path: './mocks/genfill.html' }); | ||
describe('genfill-marquee', async () => { | ||
const interactiveContainer = document.querySelector('.genfill'); | ||
setInteractiveFirefly(interactiveContainer); | ||
it('media for different viewports should exist', () => { | ||
const mobileMedia = document.querySelector('.mobile-media'); | ||
const tabletMedia = document.querySelector('.tablet-media'); | ||
const desktopMedia = document.querySelector('.desktop-media'); | ||
expect(mobileMedia).to.exist; | ||
expect(tabletMedia).to.exist; | ||
expect(desktopMedia).to.exist; | ||
}); | ||
|
||
// it('Prompt should should be placed at proper place in interactive container', () => { | ||
// const fireflypromptbar = document.querySelector('.fireflyPrompt'); | ||
// expect(fireflypromptbar).to.exist; | ||
// }); | ||
|
||
// it('Interactive selector should exist', () => { | ||
// const selector = document.querySelector('.options'); | ||
// expect(selector).to.exist; | ||
// }); | ||
|
||
// it('Interactive selector should be placed at proper place in interactive container', () => { | ||
// const fireflyselector = document.querySelector('.fireflySelectorTray'); | ||
// expect(fireflyselector).to.exist; | ||
// }); | ||
it('Enticement should exist', () => { | ||
const enticementText = document.querySelector('.enticementText'); | ||
const enticementArrow = document.querySelector('.enticementArrow'); | ||
expect(enticementText).to.exist; | ||
expect(enticementArrow).to.exist; | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<div class="interactive-marquee light genfill" daa-lh="b1|interactive-marquee|default|default"> | ||
<div class="background"> | ||
<div data-valign="middle"> | ||
<picture> | ||
<source type="image/webp" srcset="./media_17d766f825a9e81814caa27c230d9acc7f824bd7c.png?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_17d766f825a9e81814caa27c230d9acc7f824bd7c.png?width=750&format=webply&optimize=medium"> | ||
<source type="image/png" srcset="./media_17d766f825a9e81814caa27c230d9acc7f824bd7c.png?width=2000&format=png&optimize=medium" media="(min-width: 600px)"> | ||
<img alt="" src="./media_17d766f825a9e81814caa27c230d9acc7f824bd7c.png?width=750&format=png&optimize=medium" width="1600" height="750"> | ||
</picture> | ||
</div> | ||
</div> | ||
<div class="foreground container"> | ||
<div data-valign="middle" class="text"> | ||
<p class="icon-area"> | ||
<picture> | ||
<source type="image/webp" srcset="./media_12bfb726aa0bd8e9f444f69e2bbeb3950cb2a867b.png?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_12bfb726aa0bd8e9f444f69e2bbeb3950cb2a867b.png?width=750&format=webply&optimize=medium"> | ||
<source type="image/png" srcset="./media_12bfb726aa0bd8e9f444f69e2bbeb3950cb2a867b.png?width=2000&format=png&optimize=medium" media="(min-width: 600px)"> | ||
<img loading="lazy" alt="" src="./media_12bfb726aa0bd8e9f444f69e2bbeb3950cb2a867b.png?width=750&format=png&optimize=medium" width="154" height="150"> | ||
</picture><div class="heading-xs icon-text">Photoshop</div></p> | ||
<h2 id="edit-photos-online-with-adobe-photoshop" class="heading-xxl">Edit photos online with Adobe Photoshop</h2> | ||
<p class="body-xl">Add, remove, or expand content in images right in your browser with Photoshop on the web. Included in every Photoshop plan.</p> | ||
<p class="action-area body-xl pricing"><a href="https://www.adobe.com/" class="con-button blue button-l button-justified-mobile" daa-ll="Free Trial-1|Edit photos online w">Free Trial</a> <a href="http://www.adobe.com/" class="con-button outline button-l button-justified-mobile" daa-ll="Explore Photoshop on-2|Edit photos online w">Explore Photoshop online</a></p> | ||
</div> | ||
|
||
<div class="interactive-container"><div data-valign="middle" class="media mobile-media tablet-media desktop-media"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="enticement"><h2 class="enticementText heading-l">See it in action</h2><img class="enticementArrow" alt="" src="https://main--cc--adobecom.hlx.page/drafts/ruchika/svg/enticement-arrow.svg"></div><picture style="display: none;"> | ||
<source type="image/webp" srcset="./media_123c43acc1f22cbaeecce43784b308164316df474.jpeg?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_123c43acc1f22cbaeecce43784b308164316df474.jpeg?width=750&format=webply&optimize=medium"> | ||
<source type="image/jpeg" srcset="./media_123c43acc1f22cbaeecce43784b308164316df474.jpeg?width=2000&format=jpeg&optimize=medium" media="(min-width: 600px)"> | ||
<img alt="" src="./media_123c43acc1f22cbaeecce43784b308164316df474.jpeg?width=750&format=jpeg&optimize=medium" width="1000" height="1000"> | ||
</picture><picture style="display: none;"> | ||
<source type="image/webp" srcset="./media_1b3d46d3b850f0e0a936ee7d91e296f80a27d882e.jpeg?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_1b3d46d3b850f0e0a936ee7d91e296f80a27d882e.jpeg?width=750&format=webply&optimize=medium"> | ||
<source type="image/jpeg" srcset="./media_1b3d46d3b850f0e0a936ee7d91e296f80a27d882e.jpeg?width=2000&format=jpeg&optimize=medium" media="(min-width: 600px)"> | ||
<img alt="" src="./media_1b3d46d3b850f0e0a936ee7d91e296f80a27d882e.jpeg?width=750&format=jpeg&optimize=medium" width="1000" height="1000"> | ||
</picture><picture style="display: none;"> | ||
<source type="image/webp" srcset="./media_1b719c559307e063934181699054dd4b4a6bb78ae.jpeg?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_1b719c559307e063934181699054dd4b4a6bb78ae.jpeg?width=750&format=webply&optimize=medium"> | ||
<source type="image/jpeg" srcset="./media_1b719c559307e063934181699054dd4b4a6bb78ae.jpeg?width=2000&format=jpeg&optimize=medium" media="(min-width: 600px)"> | ||
<img alt="" src="./media_1b719c559307e063934181699054dd4b4a6bb78ae.jpeg?width=750&format=jpeg&optimize=medium" width="1000" height="1000"> | ||
</picture><picture style="display: none;"> | ||
<source type="image/webp" srcset="./media_13ef1cbd6dd2d29ee3346556d85c01592142d9b9e.jpeg?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_13ef1cbd6dd2d29ee3346556d85c01592142d9b9e.jpeg?width=750&format=webply&optimize=medium"> | ||
<source type="image/jpeg" srcset="./media_13ef1cbd6dd2d29ee3346556d85c01592142d9b9e.jpeg?width=2000&format=jpeg&optimize=medium" media="(min-width: 600px)"> | ||
<img alt="" src="./media_13ef1cbd6dd2d29ee3346556d85c01592142d9b9e.jpeg?width=750&format=jpeg&optimize=medium" width="1000" height="1000"> | ||
</picture><picture style="display: none;"> | ||
<source type="image/webp" srcset="./media_196388dc12db8845443b163840a5c9829ac9c13f2.jpeg?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_196388dc12db8845443b163840a5c9829ac9c13f2.jpeg?width=750&format=webply&optimize=medium"> | ||
<source type="image/jpeg" srcset="./media_196388dc12db8845443b163840a5c9829ac9c13f2.jpeg?width=2000&format=jpeg&optimize=medium" media="(min-width: 600px)"> | ||
<img alt="" src="./media_196388dc12db8845443b163840a5c9829ac9c13f2.jpeg?width=750&format=jpeg&optimize=medium" width="1000" height="1000"> | ||
</picture><picture style="display: none;"> | ||
<source type="image/webp" srcset="./media_1385afbb414c63b60fe828588b45af73569fcfa51.jpeg?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_1385afbb414c63b60fe828588b45af73569fcfa51.jpeg?width=750&format=webply&optimize=medium"> | ||
<source type="image/jpeg" srcset="./media_1385afbb414c63b60fe828588b45af73569fcfa51.jpeg?width=2000&format=jpeg&optimize=medium" media="(min-width: 600px)"> | ||
<img alt="" src="./media_1385afbb414c63b60fe828588b45af73569fcfa51.jpeg?width=750&format=jpeg&optimize=medium" width="1000" height="1000"> | ||
</picture><picture style="display: block;"> | ||
<source type="image/webp" srcset="./media_15fa500f4f41d0a0eae79b950a2432d808ea8ea18.jpeg?width=2000&format=webply&optimize=medium" media="(min-width: 600px)"> | ||
<source type="image/webp" srcset="./media_15fa500f4f41d0a0eae79b950a2432d808ea8ea18.jpeg?width=750&format=webply&optimize=medium"> | ||
<source type="image/jpeg" srcset="./media_15fa500f4f41d0a0eae79b950a2432d808ea8ea18.jpeg?width=2000&format=jpeg&optimize=medium" media="(min-width: 600px)"> | ||
<img alt="" src="./media_15fa500f4f41d0a0eae79b950a2432d808ea8ea18.jpeg?width=750&format=jpeg&optimize=medium" width="1000" height="1000"> | ||
</picture></div></div></div> | ||
</div> |