我们可以在下面的代码中使用 Promise 而不是 async/await 吗?
fixture`MyFixture`.page`http://devexpress.github.io/testcafe/example`;
test("My first test", async t => {
await t
.typeText("#developer-name", "srikanth chitla")
.setTestSpeed(0.1)
.click("#submit-button");
});
Run Code Online (Sandbox Code Playgroud)