This will FAIL your Espresso Tests

preview_player
Показать описание

A weird issue I encountered that will cause your Espresso tests to fail even if the app runs completely fine.

.
.
Рекомендации по теме
Комментарии
Автор

Thank you so much Mitch for this amazing UI testing series.

mohammadmujahid
Автор

UI tests have always been my least favourite part of being a dev 😂

danmartin
Автор

I still remember the day I lost so many close friends & relatives of mine after I wrote something like (android:alpha=".3f" ) in the layout file and was stuck for 2 days😂😂

Rassy_
Автор

we are too dumb to resist clickbait..
.
.
Just kidding 😜
big fan 🙏🙏 of you, mitch

prakashshukla
Автор

Hey Mitch,
When will you upload advance UI testing course?

muhammadhumzakhan
Автор

I have a question. I am making a client-server app. For example in login page user must type login and password after it. App opens main page. How to handle response from server and continue testing ?

doniyorbekmashrabboyev
Автор

Hey Mitch,
Thanks for making these videos, I bet that they are helpful for a lot of people.
About the issue, with attr/actionBarSize I think it could be because the application theme is not applied during the testing of the fragment, and the attribute does not exist. I had similar issues with Material design components and I have managed to resolve them by applying the app theme in the tested fragment scenario:
val testedScenario = = R.style.My_App_Theme)

milendimitrov
Автор

took me 2 days to find this issue, if you need the ?attr you need to give expresso your theme, if you do this you will be able to use ?attr in Unit tests

tiagooliveira
Автор

I am making an app where when a user log in an ads like olx app, when user post ads it data store in firebase and show in app, but problem is that I am not understand how to store data user in firebase and show in app
Can you make a video of olx clone app in flutter.
I request you.

Railwayviralvideos
Автор

Hey Mitch. I had a question, and perhaps you could help me out. If I create a new class in android studio, how could I get the screen dimensions? I’ve tried using “Extends Activity” right after declaring my class name, but my app crashes. I know how to get the dimensions from the “Main Activity” class, but not from any new classes that I create. Any suggestions? Thanks in advance

h.r.
Автор

Please make a classified app like olx and quicker in flutter.
I am fan of your video.
But please make this type of app.

Railwayviralvideos
Автор

Thank you for this video. Would you recommand the next lecture which made by you?

riyupapa
Автор

What is the fix for that? Are u going to hard code that value everytime you run the UI test case?

Автор

You are testing the whole Open Api App? That would be so perfect.

buzzminkyunghoon
Автор

is it bad or just okay to ignore that error on a long run?

lukugeraud
Автор

hi mitch, i am unable to post on your website, please help. i am facing an issue for the payment. i want to become paid member of codingWithMitch.

fieldforce