fix ui test
fix ui test

package io.github.appstash.shop.ui.page.test

import geb.Page

class ProductDetailPage extends Page {
    static at = { title == "Shop" }
    static content = {
        results(wait: true) { $("a.addToCart") }
        result { i -> results[i] }
        addToCartLink { result(0) }
    }
}
package io.github.appstash.shop.ui.page.test

import geb.Page

class ProductDetailPage extends Page {
    static at = { title == "Shop" }
    static content = {
        results(wait: true) { $("div.container div.col-md-8") }
        result { i -> results[i] }
        resultLink { i -> result(i).find("a")[0] }
        addToCartLink { resultLink(0) }
    }
}