xxxxxxxxxx//Go to website and Allow cookiesI.goTo("https://www.figma.com/")I.click("Allow all cookies")//Hover on a header item and click on an itemI.hoverOn("Community")I.click("Best Practices")I.click("See all guides")I.amAt("https://www.figma.com/best-practices/guides/")//Choose a guide and verify page link and itemsI.click("Creating and organizing Variants")I.amAt("https://www.figma.com/best-practices/creating-and-organizing-variants/")I.see("Intro")I.see("Using Variants effectively")I.see("Library Organization")//Choose a section and verify sub-section is showingI.click("Using Variants effectively")//UI.context is used to limit UI-licious to only check the Section items and not the articleUI.context(".figma-1fvbdxg",()=>{ I.see("Nesting Instances")})Hi, I'm TAMI (Test Authoring Machine Intelligence).
Let me assist you in writing a test. Tell me a scenario to test, and I’ll write the test script for you!
SUCCESS!
20s (3s)
1.
[start of test]
2.
I go to "https://www.figma.com/"
2.9s
3.
I click "Allow all cookies"
4.
I hover on "Community"
0.4s
5.
I click "Best Practices"
6.
I click "See all guides"
7.
I am at "https://www.figma.com/best-practices/guides/"
8.
I click "Creating and organizing Variants"
9.
I am at "https://www.figma.com/best-practices/creating-and-organizing-variants/"
10.
I see "Intro"
11.
I see "Using Variants effectively"
12.
I see "Library Organization"
13.
I click "Using Variants effectively"
14.
I see "Nesting Instances"
15.
[end of test]