Integration tests with Bubble and QAWolf

Integration tests with Bubble and QAWolf

Last year I posted on the bubble forum about finding a solution to test a bubble app.

Selenium was too heavy and difficult to setup.
Other existing SaaS are too enterprise oriented and the pricing too high.

Suprisingly, there were people interested but no real solutions.

Our CTO Pierre stumbled on QAWolf.com, I will let him talk about it :

Don't forget to 👍 and subscribe to receive our new videos

QAWolf is built using playwright. It is missing some assertions but really promising :)

Our Integration tests public (at the bottom) : https://hackerhouse.world/openstartup

Full Transcript

Making you feature is easy, but making a bug is faster.
Hello guys, my name is Pierre and today I will talk to you about integration testing.
Here on openstartup the page of hackerhouse.
You can see that we show all our integration tests.
So if you look at this,
we use qawolf.com to make or integration.
We show to all our community
our gifs that shows that test pass or fail.
Now I will show you qawolf interface in order to make some tests on bubble.
So here it is. You can create a test run tests in order to see if it fails
or not and then import it on your openstartup page.
So now I will show you that it's really low code almost no code
to make your own integration test.
So I will make a test.
hackerhouse.world/login
I will show you the first test.
That is the most important. The login part.
if the login doesn't work then. Yoru community can’t login on your website.
We need to test it every time before deploying.
Here's the test.
So the first time you come.
It will charge the page,
now.
It will hit record every action you do
for example,
I will put the demo email.
So it’s [email protected].
You can see that it automatically creates your code. The code is on the left.
You will set the password and you will click on login.
You see that the test works.
and in order to really know if you are redirected correctly,
you will assert a text on the current page
On this page there is
“Create your profile” as text.
So we make a line of code that is assertText(page,”Create your profile”).
We will put the page as input and the text you want to assert to know if it's on the page,
so we will make put “create you profile”.
If you run now the test we see if it passes
or it fails if you put “Create your profile” with 2 e it won't work.
Not just with one e it's the right.
Text so it will pass.
You can see that it's automatized now and you can run it at every moment.
To end with the test part, you can add triggers and for example,
We have a daily production test,
but you can create your own trigger.
You can set the frequency
and the environment we use the environment staging in order to use to test
only the development part for now,
but later on we Can use the the environment production to test your life application.
Thank you guys for listening. I hope you enjoyed the video
and
I hope to see you on hackehouse.world/piscine/bubble.
see you guys