4

They are two different design patterns. A Facade is meant to make the interface to a library or set of objects simpler. It wraps in simpler methods complex behavior or "outdated" style of programming, thus making the overall style of your project cleaner, even if you have to rely on some nasty ugly dependencies. It does not have anything to do ...


2

You should not implement WebElementFacade. Selenium supplies EventFiringWebDriver for such purpose. Using it you can add actions to take before and/or after any method WebDriver or WebElement provides. So you substitute your webdriver with that event-driven wrapper in the way like this: @BeforeEach public void setUp(){ driver = new FirefoxDriver(); ...


2

I don't think anything exists out of the box. You will probably need to write some steps that use a RabbitMQ client (amqp-client) to check if there are events on the queue etc...


1

1 - Sure. Cucumber is a test runner. The goal of this kind of tool is only to execute a suite with certain structure is a certain way. Cucumber manages the execution of certain methods according to the matches of .feature files. Rest-assure is a library. It abstracts HTTP calls. You can add anything under Cucumber step definition methods, including ...


Only top voted, non community-wiki answers of a minimum length are eligible