我正在使用代码接收进行测试以进行Drag & Drop
。运行测试不会返回任何错误,但Drag & Drop
实际上并不能正常工作(我看不到我想要的)
我必须将一个窗口移到另一个
这是我的测试
$I->click(['id' => 'showGallery']);
$I->amOnUrl("http://xxxxxx");
$I->dragAndDrop("//div[@class='grid-stack-item-content']","//div[@id='dashboard']");
$I->wait ('15');
$I->see ("Codice prodotto:");
}
This is acceptance suite:
actor: AcceptanceTester
modules:
enabled:
- WebDriver:
url: http://xxxx
host: xxxx
port: xxxx
window_size: false
browser: chrome
capabilities:
unexpectedAlertBehaviour: 'ignore'
chromeOptions:
args: ["--disable-gpu", "window-size=1920x1080", "--no-sandbox"]
- \Helper\
接受