![]() These days, it is extremely difficult for a visiting columnist to get anyone - a senior official or a Starbucks barista - to speak on the record. The party crushes any challenge to its rule or to President Xi Jinping. China’s Communist Party government has a stronger grip than ever on its society, thanks to its police state surveillance and digital tracking systems: Facial recognition cameras are everywhere. I can’t think of any major nation after the United States with more of a Protestant work ethic and naturally capitalist population than China.īeing back was also a reminder of the formidable weight and strength of what China has built since opening to the world in the 1970s, and even since Covid hit in 2019. Truth be told, both countries have so demonized the other of late that it is easy to forget how much we have in common as people. There’s something of a competition today between Democrats and Republicans over who can speak most harshly about China. More personally, being back in Beijing was also a reminder of how many people I’ve come to know and like there over three decades of reporting visits - but please don’t tell anyone in Washington that I said that. and China, it also has become scarcer than ever. Just when trust has become more important than ever between the U.S. ![]() Hint: The new, new thing has a lot to do with the increasingly important role that trust, and its absence, plays in international relations, now that so many goods and services that the United States and China sell to one another are digital, and therefore dual use - meaning they can be both a weapon and a tool. Attending the China Development Forum - Beijing’s very useful annual gathering of local and global business leaders, senior Chinese officials, retired diplomats and a few local and Western journalists - reminded me of some powerful old truths and exposed me to some eye-popping new realities about what’s really eating away at U.S.-China relations. That’s one of the many reasons I found it helpful to be back in Beijing and to be able to observe China again through a larger aperture than a pinhole. The smallest misstep by either side could ignite a U.S.-China war that would make Ukraine look like a neighborhood dust-up. The recent visit by Taiwan’s president, Tsai Ing-wen, to the United States - which prompted Beijing to hold live-fire drills off Taiwan’s coast and to warn anew that peace and stability in the Taiwan Strait are incompatible with any move by Taiwan toward formal independence - was just the latest reminder of how overheated this atmosphere is. Relations between our two countries have soured so badly, so quickly, and have so reduced our points of contact - very few American reporters are left in China, and our leaders are barely talking - that we’re now like two giant gorillas looking at each other through a pinhole. Being back in Beijing was a reminder of my first rule of journalism: If you don’t go, you don’t know. You might find the cost of maintaining these sorts of tests are not worth the hassle.TAIPEI, Taiwan - I just returned from visiting China for the first time since Covid struck. You might find these tests are failing for days/weeks at a time because none of your teammates have time to fix some silly selenium/javascript wait condition which isn't working as expected This type of testing can be quite flakey for various reasons. Relying on selectors such as /div/div/button makes your tests fragile as they will break with simple UI changes in the future. Be sure to give any controls (text fields, buttons etc) html ID's so you can select by id. Selenium testing can be hard to get right. ![]() Perhaps a test only rest endpoint where you POST a json for the test data would be better than direct JDBC in cucumber? If making changes directly on the db (eg via JDBC) you need to be sure to drop any caches the UI might have (browser cache / serverside cache). It's quite likely you won't be able to use a database transaction and rollback in this scenario since the UI and the test harness (cucumber) will have their own database connections ![]() Any "shared" records required by multiple tests (eg clients/accounts etc) should remain static/immutable. It's always best to create test records during test setup rather than mutate existing "shared" records that are used by other tests. You need to ensure that changes made in one test don't "bleed" into another (eg tests pass when run A,B but fail when run B,A). These sorts of tests are possible, but end up being quite time consuming to create and maintain over time with changes to the application ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |